diff --git a/src/console/controllers/ExecuteController.php b/src/console/controllers/ExecuteController.php index 8339e86..1cbf0b2 100644 --- a/src/console/controllers/ExecuteController.php +++ b/src/console/controllers/ExecuteController.php @@ -27,7 +27,7 @@ public function actionIndex() { $stoppedLong = CmsAgentModel::stopLongExecutable(); if ($stoppedLong > 0) { - \Yii::warning('Agents stopped: ' . count($stoppedLong), 'skeeks/agent'); + \Yii::warning('Agents stopped: ' . $stoppedLong, 'skeeks/agent'); } $agents = CmsAgentModel::findForExecute()->all();