From: Roland Haeder Date: Fri, 27 Feb 2015 15:53:11 +0000 (+0100) Subject: Fixed parser error as the braces pair was missing. X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=commitdiff_plain;h=8f33785dc3bdd25f5d9c69f2947c094ab52a4979 Fixed parser error as the braces pair was missing. Signed-off-by: Roland Haeder --- diff --git a/plugins/Poll/classes/Poll_response.php b/plugins/Poll/classes/Poll_response.php index 3c9379a938..0700780921 100644 --- a/plugins/Poll/classes/Poll_response.php +++ b/plugins/Poll/classes/Poll_response.php @@ -123,7 +123,7 @@ class Poll_response extends Managed_DataObject * * @return Notice saved notice */ - static function saveNew(Profile $profile, $poll, $selection, array $options=array) + static function saveNew(Profile $profile, $poll, $selection, array $options=array()) { if (!$poll->isValidSelection($selection)) { // TRANS: Client exception thrown when responding to a poll with an invalid option.