summaryrefslogtreecommitdiff
path: root/it_user.class
diff options
context:
space:
mode:
authorChristian Schneider2013-04-22 15:09:43 +0000
committerChristian Schneider2013-04-22 15:09:43 +0000
commit620ab1180ec944d0e7037ed3a76f1cee401f9e33 (patch)
tree6b65df64e818aca9a7b0eeb126857a3e0e00b43f /it_user.class
parentcd128b312c1025c4090c0dfe7c3cd0838c5156e8 (diff)
downloaditools-620ab1180ec944d0e7037ed3a76f1cee401f9e33.tar.gz
itools-620ab1180ec944d0e7037ed3a76f1cee401f9e33.tar.bz2
itools-620ab1180ec944d0e7037ed3a76f1cee401f9e33.zip
Switch to mysqli functions
Diffstat (limited to 'it_user.class')
-rw-r--r--it_user.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_user.class b/it_user.class
index 75fc52e..ccbcfc2 100644
--- a/it_user.class
+++ b/it_user.class
@@ -353,7 +353,7 @@ function create_password($length = 8, $charset = 'abcdefghjkpqrstuvwxyz23456789A
function crypt_password($password)
{
$result = $this->query("SELECT PASSWORD(" . $this->escape_string($password) . ")");
- list($pw) = mysql_fetch_array($result);
+ list($pw) = mysqli_fetch_array($result);
return $pw;
}