diff --git a/classes/api.php b/classes/api.php index 6fb87d04f..68c46d53c 100755 --- a/classes/api.php +++ b/classes/api.php @@ -40,7 +40,7 @@ class API extends Handler { } function getVersion() { - $rv = array("version" => VERSION); + $rv = array("version" => get_version()); $this->wrap(self::STATUS_OK, $rv); }