summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-05-22 15:33:23 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-05-22 15:33:23 -0300
commit3326170778b9c59a9cc025e6598e7d16818cceab (patch)
treeebeb3f34aab7140ae383c3df04b5c1b1509f19c9 /usr/local
parent3543db5ee94dddae808d0908587b98e412a6c5fe (diff)
parentbbceec685f4b2a8e9f5caaadbd4c0c562f26eb8d (diff)
downloadpfsense-3326170778b9c59a9cc025e6598e7d16818cceab.zip
pfsense-3326170778b9c59a9cc025e6598e7d16818cceab.tar.gz
Merge pull request #1149 from phil-davis/patch-7
Diffstat (limited to 'usr/local')
-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 d3aea8f..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("notices.inc");
+ if(!function_exists("get_notices"))
+ require("notices.inc");
if(!$params) {
$toreturn = get_notices();
} else {
OpenPOWER on IntegriCloud