summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TDataGrid.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php
index ab956d9c..1a81974e 100644
--- a/framework/Web/UI/WebControls/TDataGrid.php
+++ b/framework/Web/UI/WebControls/TDataGrid.php
@@ -1295,6 +1295,8 @@ class TDataGrid extends TBaseDataList implements INamingContainer
foreach($this->getControls() as $index=>$item)
{
+ if(!($item instanceof TDataGridItem) && !($item instanceof TDataGridPager))
+ continue;
$itemType=$item->getItemType();
switch($itemType)
{