diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-11-08 23:33:58 +0100 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-11-08 23:33:58 +0100 |
commit | b10f362ede8c39746c168363bf4fa6481995592b (patch) | |
tree | c7a6d4d2ca280ba50d1dbac1113507432e3fe12e /extlib/System | |
parent | 5ab709b73977131813884558bf56d97172a7aa26 (diff) | |
parent | fc5002015b2a9e16a3c6b9992d55b45c73a8d2fb (diff) |
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'extlib/System')
-rw-r--r-- | extlib/System/Command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/System/Command.php b/extlib/System/Command.php index d2001a975..f5c3ec6b9 100644 --- a/extlib/System/Command.php +++ b/extlib/System/Command.php @@ -376,7 +376,7 @@ class System_Command { return $this->_initError; } - // if the command is empty or if the last element was a control operator, we cannot continue + // if the command is empty or if the last element was a control operator, we can't continue if (is_null($this->previousElement) || $this->commandStatus == -1 || in_array($this->previousElement, $this->controlOperators)) { return PEAR::raiseError(null, SYSTEM_COMMAND_INVALID_COMMAND, null, E_USER_WARNING, $this->systemCommand, 'System_Command_Error', true); } |