diff options
author | Simon Rettberg | 2016-06-09 14:38:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-06-09 14:38:33 +0200 |
commit | ae715f73502b26d7cf76b36fc8ba45b4bc9831bc (patch) | |
tree | bfddb909ee76f3388b704ae85488e3aee0dcae20 /modules-available/locations | |
parent | [dozmod/api] Formatting (diff) | |
download | slx-admin-ae715f73502b26d7cf76b36fc8ba45b4bc9831bc.tar.gz slx-admin-ae715f73502b26d7cf76b36fc8ba45b4bc9831bc.tar.xz slx-admin-ae715f73502b26d7cf76b36fc8ba45b4bc9831bc.zip |
[dozmod/api] Get actual location list
Diffstat (limited to 'modules-available/locations')
-rw-r--r-- | modules-available/locations/inc/location.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/inc/location.inc.php b/modules-available/locations/inc/location.inc.php index 25e888d8..3a282df1 100644 --- a/modules-available/locations/inc/location.inc.php +++ b/modules-available/locations/inc/location.inc.php @@ -183,7 +183,7 @@ class Location * @param int $locationId * @return int[] location ids, including $locationId */ - public function getLocationRootChain($locationId) + public static function getLocationRootChain($locationId) { settype($locationId, 'integer'); $locations = Location::getLocationsAssoc(); |