From: Tim Düsterhus Date: Fri, 23 Sep 2011 21:40:33 +0000 (+0200) Subject: Fixing Cronjob-Log X-Git-Tag: 2.0.0_Beta_1~1764^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa81b88a52cc89fcaea907305430949e20b8d54a;p=GitHub%2FWoltLab%2FWCF.git Fixing Cronjob-Log Success was just the opposite of what it should be --- 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 ));