https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4cfce
)
Another check for is_array() errors, but now in call_relations()
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Mar 2006 02:25:12 +0000
(
02:25
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Mar 2006 02:25:12 +0000
(
02:25
+0000)
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index c1b53ad3802b2f2d5a4833ee9177b6b8ae4c157a..a2c9c9733cbfae813f23a0fd47c5cfadf4176e6c 100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-549,7
+549,7
@@
class API
*/
function call_relations($method)
{
- if (!in_array($method, $this->dorelations))
+ if (!i
s_array($this->dorelations) OR !i
n_array($method, $this->dorelations))
{
return;
}