Another variable fixed, thanks to rasty
authorRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 16:17:31 +0000 (16:17 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 16:17:31 +0000 (16:17 +0000)
inc/modules/admin/what-del_user.php

index 0ffb8df50b306376cb7af69392889b28983fd7eb..37ecc5382a99e5c22f3b7f495a4dcfd237ffb975 100644 (file)
@@ -47,7 +47,7 @@ if ((isset($_POST['ok'])) || ((isset($_POST['del'])) && (!empty($_POST['reason']
         array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
        if (SQL_NUMROWS($result_user) == 1) {
                // Free memory
         array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
        if (SQL_NUMROWS($result_user) == 1) {
                // Free memory
-               SQL_FREERESULT($result);
+               SQL_FREERESULT($result_user);
 
                // Delete user account
                DELETE_USER_ACCOUNT(bigintval($_GET['u_id']), $_POST['reason']);
 
                // Delete user account
                DELETE_USER_ACCOUNT(bigintval($_GET['u_id']), $_POST['reason']);