From efa43823b4f237b66191750c7014748d7c99d04d Mon Sep 17 00:00:00 2001 From: 713uk13m <713uk13m@713uk13ms-MacBook-Pro.local> Date: Thu, 11 Oct 2018 14:55:37 +0700 Subject: [PATCH] fix bug class Debug --- src/Debug.php | 2 +- src/Interfaces/ProjectInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Debug.php b/src/Debug.php index c3e3971..b4c9ac0 100644 --- a/src/Debug.php +++ b/src/Debug.php @@ -138,7 +138,7 @@ public function getGlobalLoggerLevel() */ public function setGlobalLoggerLevel($globalLoggerLevel = NULL) { - if (!empty($logger_filename) && is_string($globalLoggerLevel)) { + if (!empty($globalLoggerLevel) && is_string($globalLoggerLevel)) { $this->globalLoggerLevel = strtolower($globalLoggerLevel); } } diff --git a/src/Interfaces/ProjectInterface.php b/src/Interfaces/ProjectInterface.php index b273e58..fb22d8c 100644 --- a/src/Interfaces/ProjectInterface.php +++ b/src/Interfaces/ProjectInterface.php @@ -21,7 +21,7 @@ interface ProjectInterface /** * Base version of Project */ - const VERSION = '0.1.2.1'; + const VERSION = '0.1.2.2'; /** * Function getVersion