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 0ffb8df..37ecc53 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
-               SQL_FREERESULT($result);
+               SQL_FREERESULT($result_user);
 
                // Delete user account
                DELETE_USER_ACCOUNT(bigintval($_GET['u_id']), $_POST['reason']);