From 03400bd8d4bff005c6de6e75a05e6a57d445b401 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 2 Mar 2021 03:14:21 +0000 Subject: [PATCH] Get the version as an array in RPC->checkforupdates. --- classes/rpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/rpc.php b/classes/rpc.php index 633e3a86e..0f08e78c7 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -396,7 +396,7 @@ class RPC extends Handler_Protected { function checkforupdates() { $rv = ["changeset" => [], "plugins" => []]; - $version = Config::get_version(); + $version = Config::get_version(false); $git_timestamp = $version["timestamp"] ?? false; $git_commit = $version["commit"] ?? false;