diff --git a/src/messenger/webim/libs/common.php b/src/messenger/webim/libs/common.php index 6420dbf3..1707cb8b 100644 --- a/src/messenger/webim/libs/common.php +++ b/src/messenger/webim/libs/common.php @@ -362,7 +362,7 @@ function db_build_select($fields, $table, $conditions, $orderandgroup) { global $mysqlprefix; $condition = count($conditions) > 0 ? " where ".implode(" and ", $conditions) : ""; if($orderandgroup) $orderandgroup = " ".$orderandgroup; - return "select $fields from $mysqlprefix . $table$condition$orderandgroup"; + return "select $fields from $table$condition$orderandgroup"; } function db_rows_count($table,$conditions,$countfields, $link) {