Fix for bigintval() which does only take numbers
authorRoland Häder <roland@mxchange.org>
Mon, 10 Jan 2011 08:46:24 +0000 (08:46 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 10 Jan 2011 08:46:24 +0000 (08:46 +0000)
inc/session-functions.php

index 71f67ca3033d094dc5de2bb4d41b38b23a662721..ca8a38fff1bfab6dccc20db7ac897deb3e5b4f10 100644 (file)
@@ -117,7 +117,7 @@ function destroyMemberSession () {
 // Destroys the admin session
 function destroyAdminSession ($destroy = true) {
        // Kill maybe existing session variables including array elements
-       setAdminId('');
+       setAdminId(0);
        setAdminMd5('');
        setAdminLast('');