summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SemanticScuttle/Service/User/SslClientCert.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SemanticScuttle/Service/User/SslClientCert.php b/src/SemanticScuttle/Service/User/SslClientCert.php
index f277994..a6d43be 100644
--- a/src/SemanticScuttle/Service/User/SslClientCert.php
+++ b/src/SemanticScuttle/Service/User/SslClientCert.php
@@ -224,6 +224,7 @@ class SemanticScuttle_Service_User_SslClientCert extends SemanticScuttle_DbServi
public function getUserCerts($uId)
{
$query = 'SELECT * FROM ' . $this->getTableName()
+ . ' WHERE uId = ' . (int)$uId
. ' ORDER BY sslSerial DESC';
if (!($dbresult = $this->db->sql_query($query))) {
message_die(