From 4d5a6c6f0119e6be226d916dc87bce5c17bee5e8 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Wed, 17 Oct 2012 15:07:13 +0200
Subject: [PATCH] Typo error

---
 htdocs/core/modules/syslog/mod_syslog_firephp.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/core/modules/syslog/mod_syslog_firephp.php b/htdocs/core/modules/syslog/mod_syslog_firephp.php
index 48b0b2cffaa..2da1cf97804 100644
--- a/htdocs/core/modules/syslog/mod_syslog_firephp.php
+++ b/htdocs/core/modules/syslog/mod_syslog_firephp.php
@@ -27,7 +27,7 @@ class mod_syslog_firephp extends LogHandler implements LogHandlerInterface
 	{
 		global $langs;
 
-		return $langs->trans('ClassNotFoundIntoPathWarning','FirePHPCore/FirePHP.class.php');
+		return $this->isActive()?'':$langs->trans('ClassNotFoundIntoPathWarning','FirePHPCore/FirePHP.class.php');
 	}
 
 	/**
@@ -47,7 +47,7 @@ class mod_syslog_firephp extends LogHandler implements LogHandlerInterface
 		}
 		catch(Exception $e)
 		{
-		    print '<!-- FirePHP no available into PHP -->'."\n";
+		    print '<!-- FirePHP not available into PHP -->'."\n";
 		}
 
 		return -1;
-- 
GitLab