1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-15 10:02:02 +02:00

Minor fix

This commit is contained in:
Cameron 2019-02-13 14:06:00 -08:00
parent a4c6fd8b5b
commit af50dcc5ff

View File

@ -1672,11 +1672,11 @@ class e_db_pdo implements e_db
* @param $table (without the prefix)
* @param $field
* @param string $where (optional)
* @return bool|resource
* @return mixed
*/
public function max($table, $field, $where='')
{
$qry = "SELECT MAX(".$field.") FROM `".$this->mySQLPrefix.$table."` ";
$qry = "SELECT MAX(".$field.") FROM ".$this->mySQLPrefix.$table;
if(!empty($where))
{