fix for bugs:

- [ 1387084 ] infolog xmlrpc read function gives no entries back
- [ 1424184 ] xmlrpc read method returns nothing
This commit is contained in:
Ralf Becker 2006-03-02 08:21:25 +00:00
parent 8d69277c5a
commit 43be34afe8

View File

@ -280,7 +280,7 @@
{ {
if (is_array($info_id)) if (is_array($info_id))
{ {
$info_id = (int)$info_id['info_id']; $info_id = (int) (isset($info_id['info_id']) ? $info_id['info_id'] : $info_id[0]);
} }
if ($this->so->read($info_id) === False) if ($this->so->read($info_id) === False)