From dd80bded168b9aef45e5046dcced2ca5dc40c73f Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 25 Nov 2016 07:55:33 +0100 Subject: [PATCH] (plugins, xmlrpc sync) use standard help if none available --- src/etc/inc/plugins.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/etc/inc/plugins.inc b/src/etc/inc/plugins.inc index 78e95bab8..919987073 100644 --- a/src/etc/inc/plugins.inc +++ b/src/etc/inc/plugins.inc @@ -194,6 +194,9 @@ function plugins_xmlrpc_sync() foreach ($func() as $helper) { if (!empty($helper['id']) && !empty($helper['section'])) { $sync_settings[$helper['id']] = $helper; + if (empty($helper['help'])) { + $sync_settings[$helper['id']]['help'] = sprintf(gettext('Synchronize %s settings to backup'), $helper['description']); + } unset($sync_settings[$helper['id']]['id']); } }