From 4c28657df5e5428ab2fc9329d146b1743ae52c15 Mon Sep 17 00:00:00 2001 From: Alexandros Sigalas Date: Tue, 17 Sep 2019 23:03:22 +0300 Subject: [PATCH] Fix reported version by setup_cmd, was reporting old phpgwapi instead of api version. --- setup/inc/class.setup_cmd.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/inc/class.setup_cmd.inc.php b/setup/inc/class.setup_cmd.inc.php index 9e87699c95..8f0840a3df 100644 --- a/setup/inc/class.setup_cmd.inc.php +++ b/setup/inc/class.setup_cmd.inc.php @@ -314,7 +314,7 @@ abstract class setup_cmd extends admin_cmd case 3: throw new Api\Exception\WrongUserinput(lang('Your database is working, but you dont have any applications installed')." ($db). ".lang("Use --install to install EGroupware."),13); - case 4: throw new Api\Exception\WrongUserinput(lang('EGroupware API needs a database (schema) update from version %1 to %2!',$setup_info['phpgwapi']['currentver'],$versions['phpgwapi']).' '.lang('Use --update to do so.'),14); + case 4: throw new Api\Exception\WrongUserinput(lang('EGroupware API needs a database (schema) update from version %1 to %2!',$setup_info['api']['currentver'],$versions['api']).' '.lang('Use --update to do so.'),14); case 10: // also check apps of updates self::$apps_to_upgrade = self::$apps_to_install = array();