From fa81b88a52cc89fcaea907305430949e20b8d54a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 23 Sep 2011 23:40:33 +0200 Subject: [PATCH] Fixing Cronjob-Log Success was just the opposite of what it should be --- wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php b/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php index c12fe3a2bc..42f14991d3 100644 --- a/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php +++ b/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php @@ -127,7 +127,7 @@ class CronjobAction extends AbstractDatabaseObjectAction { CronjobLogEditor::create(array( 'cronjobID' => $cronjob->cronjobID, 'execTime' => TIME_NOW, - 'success' => (int) ($error != ''), + 'success' => (int) ($error == ''), 'error' => $error )); -- 2.20.1