diff --git a/ChangeLog b/ChangeLog
index e8320ca..4ceac98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------
+Version 3.5.6 (beta), 2012-??-??
+- bugfix: Changed intval() handling in details.php into is_numeric.
+ This fixes problems with 64 Bit unsigned uid's.
+ Fixes #bugid 345: http://bugzilla.adiscon.com/show_bug.cgi?id=345
+---------------------------------------------------------------------------
Version 3.5.5 (beta), 2012-06-19
- Merged security fixes into beta branch
---------------------------------------------------------------------------
diff --git a/src/details.php b/src/details.php
index d88e482..ff5f761 100644
--- a/src/details.php
+++ b/src/details.php
@@ -60,7 +60,13 @@ InitFilterHelpers(); // Helpers for frontend filtering!
// --- CONTENT Vars
if ( isset($_GET['uid']) )
- $content['uid_current'] = intval($_GET['uid']);
+{
+ // Now check by numeric as uid can be larger than INT values
+ if ( is_numeric($_GET['uid']) )
+ $content['uid_current'] = $_GET['uid'];
+ else
+ $content['uid_current'] = UID_UNKNOWN;
+}
else
$content['uid_current'] = UID_UNKNOWN;
@@ -351,11 +357,6 @@ if ( isset($content['Sources'][$currentSourceID]) ) // && $content['uid_current'
else
$content['main_pager_last_found'] = false;
}
-
-//echo $content['uid_fromgetrequest'] . "!
";
-//echo $uID . "!" . $ret . "
";
-//echo $content['uid_current'] ."==". $content['uid_last'] . "
";
-
}
// ---
diff --git a/src/include/functions_common.php b/src/include/functions_common.php
index 668a180..7ee7bb8 100644
--- a/src/include/functions_common.php
+++ b/src/include/functions_common.php
@@ -66,7 +66,7 @@ $LANG_EN = "en"; // Used for fallback
$LANG = "en"; // Default language
// Default Template vars
-$content['BUILDNUMBER'] = "3.5.5";
+$content['BUILDNUMBER'] = "3.5.6";
$content['UPDATEURL'] = "http://loganalyzer.adiscon.com/files/version.txt";
$content['TITLE'] = "Adiscon LogAnalyzer :: Release " . $content['BUILDNUMBER']; // Default page title
$content['BASEPATH'] = $gl_root_path;