diff --git a/src/messenger/webim/libs/operator.php b/src/messenger/webim/libs/operator.php index 015ff9dd..e369b3e0 100644 --- a/src/messenger/webim/libs/operator.php +++ b/src/messenger/webim/libs/operator.php @@ -82,7 +82,7 @@ function operator_by_email($mail) return $db->query( "select * from {chatoperator} where vcemail = ?", array($mail), - array('return_rows', Database::RETURN_ONE_ROW) + array('return_rows' => Database::RETURN_ONE_ROW) ); }