com web/doc-editor: fix again...: index.php

From: Date: Mon, 28 Jul 2014 18:35:02 +0000
Subject: com web/doc-editor: fix again...: index.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12654@lists.php.net to get a copy of this message
Commit: 9f1c02d79dddc87799c02af5682a65e32ab6548c Author: Yannick Torrès <yannick.torres@gmail.com> Mon, 28 Jul 2014 20:35:02 +0200 Parents: 815008ea40b9410d23c6d35b77e31d8a8b7daa01 Branches: master Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=9f1c02d79dddc87799c02af5682a65e32ab6548c Log: fix again... Changed paths: M index.php Diff: diff --git a/index.php b/index.php index b2ff649..5820cd7 100755 --- a/index.php +++ b/index.php @@ -101,7 +101,7 @@ $jsVar .= "\nvar auth = {};\n"; if (!isset($_SESSION['userID'])) { // Init var - $_SESSION['oauth'] = array(); + if( !isset($_SESSION['oauth']) ) $_SESSION['oauth'] = array(); /* instagram */ if( isset($_GET['oauth']) && $_GET['oauth'] == 'instagram') {

« previous php.doc.cvs (#12654) next »