mirror of
https://github.com/e107inc/e107.git
synced 2025-04-15 10:02:02 +02:00
Minor fix
This commit is contained in:
parent
a4c6fd8b5b
commit
af50dcc5ff
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user