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

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

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