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 e379a69..e8faf0c 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
-                               $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]);