From 9979ee123db8988e7f69ae426834a760d96d352b Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 14 Dec 2016 19:23:00 +0100 Subject: [PATCH] fix for non-well formated integer error(?) --- mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_REALM.php | 2 +- mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD.php | 2 +- mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD_TEST.php | 2 +- mojotrollz/cron/log/SERVER_ONLINE_TBC_REALM.php | 2 +- mojotrollz/cron/log/SERVER_ONLINE_TBC_WORLD_TEST.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_REALM.php b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_REALM.php index 571af53..ece4d92 100644 --- a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_REALM.php +++ b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_REALM.php @@ -2,7 +2,7 @@ namespace LOG; class SERVER_ONLINE_CLASSIC_REALM extends \SYSTEM\LOG\INFO { public function __construct($count){ - parent::__construct('WoW Classic Realm Status: '.$count, $count); + parent::__construct('WoW Classic Realm Status: '.$count, \intval($count)); } } \ No newline at end of file diff --git a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD.php b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD.php index f1c22fd..b13e7b4 100644 --- a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD.php +++ b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD.php @@ -2,7 +2,7 @@ namespace LOG; class SERVER_ONLINE_CLASSIC_WORLD extends \SYSTEM\LOG\INFO { public function __construct($count){ - parent::__construct('WoW Classic World Status: '.$count, $count); + parent::__construct('WoW Classic World Status: '.$count, \intval($count)); } } \ No newline at end of file diff --git a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD_TEST.php b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD_TEST.php index 81b1db4..4490dad 100644 --- a/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD_TEST.php +++ b/mojotrollz/cron/log/SERVER_ONLINE_CLASSIC_WORLD_TEST.php @@ -2,7 +2,7 @@ namespace LOG; class SERVER_ONLINE_CLASSIC_WORLD_TEST extends \SYSTEM\LOG\INFO { public function __construct($count){ - parent::__construct('WoW Classic Test World Status: '.$count, $count); + parent::__construct('WoW Classic Test World Status: '.$count, \intval($count)); } } \ No newline at end of file diff --git a/mojotrollz/cron/log/SERVER_ONLINE_TBC_REALM.php b/mojotrollz/cron/log/SERVER_ONLINE_TBC_REALM.php index 32208f9..0095946 100644 --- a/mojotrollz/cron/log/SERVER_ONLINE_TBC_REALM.php +++ b/mojotrollz/cron/log/SERVER_ONLINE_TBC_REALM.php @@ -2,7 +2,7 @@ namespace LOG; class SERVER_ONLINE_TBC_REALM extends \SYSTEM\LOG\INFO { public function __construct($count){ - parent::__construct('WoW TBC Realm Status: '.$count, $count); + parent::__construct('WoW TBC Realm Status: '.$count, \intval($count)); } } \ No newline at end of file diff --git a/mojotrollz/cron/log/SERVER_ONLINE_TBC_WORLD_TEST.php b/mojotrollz/cron/log/SERVER_ONLINE_TBC_WORLD_TEST.php index 613e33a..4ba0420 100644 --- a/mojotrollz/cron/log/SERVER_ONLINE_TBC_WORLD_TEST.php +++ b/mojotrollz/cron/log/SERVER_ONLINE_TBC_WORLD_TEST.php @@ -2,7 +2,7 @@ namespace LOG; class SERVER_ONLINE_TBC_WORLD_TEST extends \SYSTEM\LOG\INFO { public function __construct($count){ - parent::__construct('WoW TBC Test World Status: '.$count, $count); + parent::__construct('WoW TBC Test World Status: '.$count, \intval($count)); } } \ No newline at end of file