Fixed error on inserting refs with single quotes.
[fa-stable.git] / admin / users.php
index b1d3c19cdfa372fb62b785db86c32ca0b6deb002..09d60684e3e92dcf3fc4c194cfd583fc2e947374 100644 (file)
@@ -129,7 +129,7 @@ while ($myrow = db_fetch($result))
        $last_visit_date = sql2date($myrow["last_visit_date"]);
 
        /*The security_headings array is defined in config.php */
-       $not_me = strcasecmp($myrow["user_id"], $_SESSION["wa_current_user"]->username;
+       $not_me = strcasecmp($myrow["user_id"], $_SESSION["wa_current_user"]->username);
 
        label_cell($myrow["user_id"]);
        label_cell($myrow["real_name"]);