diff -r 322a9bf1e280 -r ed84b24b8e07 includes/functions.php --- 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, '?') ? '&' : '?';