From 0f3bee9e213e94de8f3e576c152eeb5593a7fd97 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 11 Dec 2005 08:34:44 +0000 Subject: [PATCH] notices -= 2 --- localize.php | 2 +- printer.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/localize.php b/localize.php index 8baf3f9..de1e7ca 100644 --- a/localize.php +++ b/localize.php @@ -103,7 +103,7 @@ class Localize return '[@"' . $key . '"]'; } - if ($this->localtable["$key"]) + if (isset($this->localtable["$key"])) { return $this->localtable["$key"]; } diff --git a/printer.php b/printer.php index 018eefa..7df8e28 100644 --- a/printer.php +++ b/printer.php @@ -352,8 +352,8 @@ EOD; break; } } - $scinfo = trim($scinfo); - $debug .= "\n\t
  • Source Control: $scinfo
  • "; + $scinfo = trim($scinfo); + $debug = "\n\t
  • Source Control: $scinfo
  • "; // query information if (is_object($this->registry->modules['db_mysql'])) -- 2.22.5