Ommit pages under construction.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 1 Feb 2009 19:19:59 +0000 (19:19 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 1 Feb 2009 19:19:59 +0000 (19:19 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrmap@391 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.body.php

index 0114a5aa4208a54e754e7ce2c17e4bc116dad29c..6b2cbca28814ffca3c49ba0a59b08c926863f161 100644 (file)
@@ -73,7 +73,7 @@ class WrGoogleMaps {
 
                // Query database
                $dbr = wfGetDB(DB_SLAVE);
-               $res = $dbr->select('wrsleddingcache', array('page_title', 'position_latitude', 'position_longitude'), 'show_in_overview');
+               $res = $dbr->select('wrsleddingcache', array('page_title', 'position_latitude', 'position_longitude'), array('show_in_overview', 'not under_construction'));
                $sleddingRoutes = array();
                while ($sleddingRoute = $dbr->fetchRow($res)) $sleddingRoutes[] = $sleddingRoute;
                $dbr->freeResult($res);