From eebb737fcb823c159d66732d37c336bc932c3246 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 26 Aug 2009 02:52:16 +0000 Subject: [PATCH] bigintval() made to much trouble, uberwach wont be displayed in frames anymore --- inc/footer.php | 2 +- inc/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/footer.php b/inc/footer.php index 91a7bf8d27..7d6a2f8172 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -72,7 +72,7 @@ if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != '1') && } // END - if // Shall we include the uberwach snippet? - if ((EXT_IS_ACTIVE('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == '2')) { + if ((!REQUEST_ISSET_GET('frame')) && (EXT_IS_ACTIVE('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == '2')) { // Then display it here loadUberwachSnippet(); } // END - if diff --git a/inc/functions.php b/inc/functions.php index 5acdb2688c..342ab2e3fc 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1292,9 +1292,9 @@ function bigintval ($num, $castValue = true) { // Has the whole value changed? // @TODO Remove this if() block if all is working fine - if ("" . $ret."" != '' . $num."") { + if ('' . $ret . '' != '' . $num . '') { // Log the values - debug_report_bug("{$ret}<>{$num}"); + //debug_report_bug("{$ret}<>{$num}"); } // END - if // Return result -- 2.30.2