From f1546452158b4b9c129fc0745d403b3dc858281a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Fri, 20 Jan 2006 07:10:18 +0000 Subject: [PATCH] killed warning reported by jens benner --- resources/inc/class.bo_resources.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.bo_resources.inc.php b/resources/inc/class.bo_resources.inc.php index ea38d51ef7..776b305e32 100755 --- a/resources/inc/class.bo_resources.inc.php +++ b/resources/inc/class.bo_resources.inc.php @@ -75,7 +75,7 @@ class bo_resources if($query['show_bookable']) { // This is somehow ugly, i know... - foreach($rows as $num => $resource) + foreach((array)$rows as $num => $resource) { $rows[$num]['default_qty'] = 1; }