seems I actually forget to use the methods only parameter

This commit is contained in:
Christian Weiske 2011-05-11 08:00:07 +02:00
parent 708dc19122
commit d5c73cd864

View file

@ -224,6 +224,7 @@ class SemanticScuttle_Service_User_SslClientCert extends SemanticScuttle_DbServi
public function getUserCerts($uId) public function getUserCerts($uId)
{ {
$query = 'SELECT * FROM ' . $this->getTableName() $query = 'SELECT * FROM ' . $this->getTableName()
. ' WHERE uId = ' . (int)$uId
. ' ORDER BY sslSerial DESC'; . ' ORDER BY sslSerial DESC';
if (!($dbresult = $this->db->sql_query($query))) { if (!($dbresult = $this->db->sql_query($query))) {
message_die( message_die(