phpdoc should ignore these three functions
[squirrelmail.git] / functions / abook_database.php
index 39f30e314dbf079297336effaa7dc22090950c37..5fdd0d60ffe8bc649fe55f37f8c7c36a12f8edb8 100644 (file)
@@ -27,8 +27,9 @@
  *  NOTE. This class should not be used directly. Use the
  *        "AddressBook" class instead.
  *
- * $Id$
+ * @version $Id$
  * @package squirrelmail
+ * @subpackage addressbook
  */
 
 /** Needs the DB functions */   
@@ -173,7 +174,7 @@ class abook_database extends addressbook_backend {
         }
          
         $query = sprintf("SELECT * FROM %s WHERE owner='%s' AND nickname='%s'",
-                         $this->table, $this->owner, $alias);
+                         $this->table, $this->owner, $this->dbh->quoteString($alias));
 
         $res = $this->dbh->query($query);