From 2bf0ec719da0a420d6378b687756df87f88596f5 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 2 Jun 2015 14:17:59 +0200 Subject: [PATCH] initialize command interpretation result to false --- lib/commandinterpreter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index d2b744e93d..f6c7518fbd 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -36,6 +36,7 @@ class CommandInterpreter // StatusNet $cmd = strtolower($cmd); + $result = false; if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) { switch($cmd) {