X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=23f0c5462c466621614c15e1e989df6deff8e46c;hp=ba3668759757b1bbf2c86be97c34e2b8e0abe984;hb=3ca950a9f47ade37c1e805810efcce77d1b3be9d;hpb=e2471df59e36592831bb2c36cddb0a002852faf9 diff --git a/phpfspot.class.php b/phpfspot.class.php index ba36687..23f0c54 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -92,7 +92,9 @@ class PHPFSPOT { /* check if all necessary indices exist */ $this->checkDbIndices(); - session_start(); + /* if session is not yet started, do it now */ + if(session_id() == "") + session_start(); if(!isset($_SESSION['tag_condition'])) $_SESSION['tag_condition'] = 'or';