diff --git a/modules/pscleaner/pscleaner.php b/modules/pscleaner/pscleaner.php index ceca17d02..35e6f62de 100644 --- a/modules/pscleaner/pscleaner.php +++ b/modules/pscleaner/pscleaner.php @@ -487,6 +487,8 @@ class PSCleaner extends Module foreach ($tables as $table) $db->execute('TRUNCATE TABLE `'._DB_PREFIX_.bqSQL($table).'`'); $db->execute('DELETE FROM `'._DB_PREFIX_.'address` WHERE id_customer > 0'); + $db->execute('UPDATE `'._DB_PREFIX_.'employee` SET `id_last_order` = 0,`id_last_customer_message` = 0,`id_last_customer` = 0'); + break; } $this->clearAllCaches();