From 33e9836968696b353e2c46cb4fa68fb49396ac73 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 13 Oct 2005 22:02:44 +0000 Subject: [PATCH] Solve copy/paste bug. Now items are properly checked. --- mod/resource/type/ims/deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/type/ims/deploy.php b/mod/resource/type/ims/deploy.php index 8deb143bc62..a105311890a 100644 --- a/mod/resource/type/ims/deploy.php +++ b/mod/resource/type/ims/deploy.php @@ -239,7 +239,7 @@ /// Extract items map from organization $items = $organization['#']['item']; - if (empty($data['#']['item'])) { /// Verify exists + if (empty($organization['#']['item'])) { /// Verify exists return false; } if (!$itemmap = ims_process_items($items)) {