|
|
@@ -6,6 +6,7 @@ Lib::loadClass('Api_WfsGeomTypeConverter');
|
|
|
Lib::loadClass('DBG');
|
|
|
Lib::loadClass('Api_Wfs_GetCapabilities');
|
|
|
Lib::loadClass('Api_Wfs_GetFeature');
|
|
|
+Lib::loadClass('Core_AclBase');
|
|
|
|
|
|
class Api_WfsQgisServer extends Api_WfsServerBase {
|
|
|
|
|
|
@@ -221,7 +222,7 @@ if($DBG){echo '(geomFld: '.$geomFld.'):';print_r($acl->getFieldType($geomFld));e
|
|
|
// if (!in_array('the_geom', $fldList)) {
|
|
|
// continue;
|
|
|
// }
|
|
|
- return ($idDefaultDB == $acl->getDB()); // hide non default_db tables
|
|
|
+ return ($acl instanceof Core_AclBase && $idDefaultDB == $acl->getDB()); // hide non default_db tables
|
|
|
});
|
|
|
|
|
|
switch (V::get('outputFormat', 'xml', $_GET)) {
|