summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php')
-rwxr-xr-xdemos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php
index 57e75d72..138118ed 100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php
@@ -60,6 +60,7 @@ class Home extends TPage
$data=array();
foreach($this->Repeater->Items as $item)
{
+ if($item->getItemType()!=TListItemType::Item && $item->getItemType()!=TListItemType::AlternatingItem) continue;
$item=array(
'id'=>$products[$index]['id'],
'name'=>$item->ProductName->Text,