includes/functions.php
changeset 978 ed84b24b8e07
parent 963 b572ce1114f1
child 1027 98c052fc3337
--- a/includes/functions.php	Wed May 13 09:49:36 2009 -0400
+++ b/includes/functions.php	Thu May 14 11:34:24 2009 -0400
@@ -111,7 +111,7 @@
       $sep = '&';
     }
   
-    $url = $session->append_sid(contentPath.$t.$flags);
+    $url = is_object($session) ? $session->append_sid(contentPath.$t.$flags) : contentPath . $t . $flags;
     if($query)
     {
       $sep = strstr($url, '?') ? '&' : '?';