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 71f67ca..ca8a38f 100644 (file)
@@ -117,7 +117,7 @@ function destroyMemberSession () {
 // Destroys the admin session
 function destroyAdminSession ($destroy = true) {
        // Kill maybe existing session variables including array elements
 // Destroys the admin session
 function destroyAdminSession ($destroy = true) {
        // Kill maybe existing session variables including array elements
-       setAdminId('');
+       setAdminId(0);
        setAdminMd5('');
        setAdminLast('');
 
        setAdminMd5('');
        setAdminLast('');