From 43be34afe8e0571ffb7abedac6d8aae102d2d120 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 2 Mar 2006 08:21:25 +0000 Subject: [PATCH] fix for bugs: - [ 1387084 ] infolog xmlrpc read function gives no entries back - [ 1424184 ] xmlrpc read method returns nothing --- infolog/inc/class.boinfolog.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.boinfolog.inc.php b/infolog/inc/class.boinfolog.inc.php index a8638f413f..85b2b4f02e 100644 --- a/infolog/inc/class.boinfolog.inc.php +++ b/infolog/inc/class.boinfolog.inc.php @@ -280,7 +280,7 @@ { 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)