aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index c3372396f..09f6440d4 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -29,7 +29,7 @@
*/
function ws_isInvokeAllowed($res, $methodName, $params)
{
- global $conf, $calling_partner_id;
+ global $conf;
if ( strpos($methodName,'reflection.')===0 )
{ // OK for reflection
@@ -415,7 +415,7 @@ SELECT id, name, permalink, uppercats, global_rank,
{
$row[$key] = (int)$row[$key];
}
-
+
array_push($cats, $row);
}
usort($cats, 'global_rank_compare');