From a68f6e4563f40e01c0c97f2a01333c01e8a3b615 Mon Sep 17 00:00:00 2001 From: "info@mschuette.name" Date: Mon, 26 May 2014 13:52:06 +0000 Subject: [PATCH] fix static call to FF_Meta_Externaldata::get --- freifunkmeta.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freifunkmeta.php b/freifunkmeta.php index ea4e073..4144026 100644 --- a/freifunkmeta.php +++ b/freifunkmeta.php @@ -40,7 +40,8 @@ class FF_Directory private $directory; function __construct() { - $this->directory = FF_Meta_Externaldata::get(FF_META_DEFAULT_DIR); + $ed = new FF_Meta_Externaldata(); + $this->directory = $ed->get(FF_META_DEFAULT_DIR); } function get_url_by_city($city) {