svn: /web/doc-editor/trunk/php/ AccountManager.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
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);