summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/xmlrpc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php
index 8445d8f..5c6fdba 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -484,7 +484,8 @@ function get_notices_xmlrpc($raw_params) {
xmlrpc_authfail();
return $xmlrpc_g['return']['authfail'];
}
- require_once("notices.inc");
+ if(!function_exists("get_notices"))
+ require("notices.inc");
if(!$params) {
$toreturn = get_notices();
} else {
OpenPOWER on IntegriCloud