From 142d9edb2029e463d4acc1e7c989f634bf6bf9a6 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Mon, 8 Jul 2013 10:58:02 +0000 Subject: [PATCH] Fix bug in operator_by_email function --- src/messenger/webim/libs/operator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); }