Fix for missing offset 1
authorRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 14:38:08 +0000 (14:38 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 14:38:08 +0000 (14:38 +0000)
inc/mysql-manager.php

index e379a695a50ff1fa0d5c41a3f935a62627aa26d0..e8faf0c63c5f293b49a59cbdcd44901047425a1f 100644 (file)
@@ -677,7 +677,7 @@ function fetchUserData ($userid, $column='userid') {
                        // Is it not zero?
                        if ($GLOBALS['user_data'][getCurrentUserId()]['last_failure_raw'] != '0000-00-00 00:00:00') {
                                // Seperate data/time
                        // Is it not zero?
                        if ($GLOBALS['user_data'][getCurrentUserId()]['last_failure_raw'] != '0000-00-00 00:00:00') {
                                // Seperate data/time
-                               $array = explode(' ', $GLOBALS['user_data'][getCurrentUserId()]['last_failure']);
+                               $array = explode(' ', $GLOBALS['user_data'][getCurrentUserId()]['last_failure_raw']);
 
                                // Seperate data and time again
                                $array['date'] = explode('-', $array[0]);
 
                                // Seperate data and time again
                                $array['date'] = explode('-', $array[0]);