Noalyss_SQL :: count add a space

This commit is contained in:
Dany De Bontridder 2017-11-26 13:41:11 +01:00
parent 652ec9bba3
commit acafbcba2e

View file

@ -400,7 +400,7 @@ abstract class Noalyss_SQL extends Data_SQL
return $a_return;
}
public function count($p_where="",$p_array=null) {
$count=$this->cn->get_value("select count(*) from $this->table".$p_where,$p_array);
$count=$this->cn->get_value("select count(*) from $this->table ".$p_where,$p_array);
return $count;
}
/**