mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
small fix get_notices_xmlrpc
This commit is contained in:
parent
90bb871477
commit
223ca102e0
@ -49,11 +49,15 @@ function xmlrpc_publishable_legacy()
|
||||
* @param $params
|
||||
* @return mixed
|
||||
*/
|
||||
function get_notices_xmlrpc($category)
|
||||
function get_notices_xmlrpc($category=null)
|
||||
{
|
||||
if (!function_exists("get_notices")) {
|
||||
require_once("notices.inc");
|
||||
}
|
||||
|
||||
return get_notices($category);
|
||||
if ($category==null) {
|
||||
return get_notices();
|
||||
} else {
|
||||
return get_notices($category);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user