Fix bug in operator_by_email function

This commit is contained in:
Dmitriy Simushev 2013-07-08 10:58:02 +00:00
parent b41405ea09
commit 142d9edb20

View File

@ -82,7 +82,7 @@ function operator_by_email($mail)
return $db->query( return $db->query(
"select * from {chatoperator} where vcemail = ?", "select * from {chatoperator} where vcemail = ?",
array($mail), array($mail),
array('return_rows', Database::RETURN_ONE_ROW) array('return_rows' => Database::RETURN_ONE_ROW)
); );
} }