svn: /web/doc-editor/trunk/php/ AccountManager.php
| From: | Yannick Torres | Date: | Sat, 23 Jul 2011 08:55:23 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ AccountManager.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2146@lists.php.net to get a copy of this message | ||
yannick Sat, 23 Jul 2011 08:55:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313624
Log:
Fix warn about authService & authServiceID
Changed paths:
U web/doc-editor/trunk/php/AccountManager.php
Modified: web/doc-editor/trunk/php/AccountManager.php
===================================================================
--- web/doc-editor/trunk/php/AccountManager.php 2011-07-23 08:45:12 UTC (rev 313623)
+++ web/doc-editor/trunk/php/AccountManager.php 2011-07-23 08:55:23 UTC (rev 313624)
@@ -146,8 +146,8 @@
$this->isAnonymous = $_SESSION['isAnonymous'];
$this->email = $_SESSION['email'];
- $this->authService = $_SESSION['authService'];
- $this->authServiceID = $_SESSION['authServiceID'];
+ $this->authService = ( isset($_SESSION['authService']) ) ?
$_SESSION['authService'] : false;
+ $this->authServiceID = ( isset($_SESSION['authServiceID']) ) ?
$_SESSION['authServiceID'] : false;
ProjectManager::getInstance()->setProject($this->project);