projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6236b
)
Fix parameter name
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 9 Dec 2009 21:01:26 +0000
(16:01 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 9 Dec 2009 21:01:26 +0000
(16:01 -0500)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
9728c7e
..
2c82b7e
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-113,8
+113,9
@@
class Kronolith
public static function initEventMap($params)
{
// Add the apikeys
- if (!empty($params['layers'])) {
- foreach ($params['layers'] as $layer) {
+ if (!empty($params['providers'])) {
+ foreach ($params['providers'] as $layer) {
+
switch ($layer) {
case 'Google':
$params['apikeys']['google'] = $GLOBALS['conf']['api']['googlemaps'];