Revision: 644
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=644&view=rev
Author: mennodekker
Date: 2012-04-26 14:51:22 +0000 (Thu, 26 Apr 2012)
Log Message:
-----------
fixed a notice when gor_url_base does not yet exist
Modified Paths:
--------------
trunk/library/classes/Gems/User/Organization.php
Modified: trunk/library/classes/Gems/User/Organization.php
===================================================================
--- trunk/library/classes/Gems/User/Organization.php 2012-04-26 14:35:14 UTC (rev 643)
+++ trunk/library/classes/Gems/User/Organization.php 2012-04-26 14:51:22 UTC (rev 644)
@@ -309,7 +309,7 @@
// MUtil_Echo::track($sql, $data['can_access']);
- if ($baseUrls = explode(' ', $data['gor_url_base'])) {
+ if (array_key_exists('gor_url_base', $data) && $baseUrls = explode(' ', $data['gor_url_base'])) {
$data['base_url'] = reset($baseUrls);
}
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|