From d7726111358f62d767dc0de3bbb1421d7875ee02 Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Tue, 28 Jul 2009 17:38:33 +0000 Subject: [PATCH] checking for session_id() was preventing updates (just put a @ infront to ignore E_NOTICE for php 4.3.3 and greater ) --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index db766a78fb..e4b73f9a82 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -556,7 +556,7 @@ class simpleFileWriter { public function update_session_progress(){ $status = Status::newGood(); // start the session (if nessesary) - if( session_id() == '' && session_start() === false){ + if( @session_start() === false){ wfDebug( __METHOD__ . ' could not start session' ); exit( 0 ); } -- 2.20.1