]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
initialize command interpretation result to false
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 2 Jun 2015 12:17:59 +0000 (14:17 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 2 Jun 2015 12:17:59 +0000 (14:17 +0200)
lib/commandinterpreter.php

index d2b744e93d79c41554dc2788277efcc7f3f6883c..f6c7518fbd8e9c6b93cae6300095680518ecd45b 100644 (file)
@@ -36,6 +36,7 @@ class CommandInterpreter
         // StatusNet
 
         $cmd = strtolower($cmd);
+        $result = false;
 
         if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
             switch($cmd) {