summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index 9793f90e..75428b89 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -465,7 +465,7 @@ class PradoBase
{
if(self::$_application && self::$_application->getMode()===TApplication::STATE_PERFORMANCE)
return;
- if(!self::$_application || self::$_application->getMode()===TApplication::STATE_DEBUG)
+ if(self::$_application && self::$_application->getMode()===TApplication::STATE_DEBUG)
{
$trace=debug_backtrace();
if(isset($trace[0]['file']) && isset($trace[0]['line']))