issue84, do not further process RPC request, if no action has been specified
[phpfspot.git] / phpfspot.class.php
index ba3668759757b1bbf2c86be97c34e2b8e0abe984..23f0c5462c466621614c15e1e989df6deff8e46c 100644 (file)
@@ -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';