projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33c62c
)
Global scope
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 8 Jul 2010 18:13:33 +0000
(14:13 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 8 Jul 2010 18:13:33 +0000
(14:13 -0400)
horde/lib/Block/metar.php
patch
|
blob
|
history
diff --git
a/horde/lib/Block/metar.php
b/horde/lib/Block/metar.php
index
40cab0a
..
baadcde
100644
(file)
--- a/
horde/lib/Block/metar.php
+++ b/
horde/lib/Block/metar.php
@@
-46,7
+46,7
@@
class Horde_Block_Horde_metar extends Horde_Block {
global $conf;
// Get locations from the database.
- $db = $
injector
->getInstance('Horde_Db_Pear')->getDb();
+ $db = $
GLOBALS['injector']
->getInstance('Horde_Db_Pear')->getDb();
$result = $db->query('SELECT icao, name, country FROM metarAirports ORDER BY country');
if (is_a($result, 'PEAR_Error')) {