diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 17:10:59 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-18 17:10:59 +0000 |
commit | 8f78070af36c61b491eac60ebc37eb164ee5e1ba (patch) | |
tree | 6ec6369068c3f5511a2412fff4a00130274366b0 /engine/lib/languages.php | |
parent | 6ec031da49c50d3c6e3e35397ddc6de35cbf9384 (diff) | |
download | elgg-8f78070af36c61b491eac60ebc37eb164ee5e1ba.tar.gz elgg-8f78070af36c61b491eac60ebc37eb164ee5e1ba.tar.bz2 |
Removing some error notices
git-svn-id: https://code.elgg.org/elgg/trunk@978 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r-- | engine/lib/languages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index b8b5caa6f..be3cf6e54 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -79,7 +79,7 @@ function register_translations($path) { global $CONFIG; - if ($CONFIG->debug) error_log("Translations loaded from : $path");
+ if (isset($CONFIG->debug) && $CONFIG->debug == true) error_log("Translations loaded from : $path");
if ($handle = opendir($path)) {
while ($language = readdir($handle)) {
|