|
@@ -838,6 +838,10 @@ class HTML_Table_Storage extends HTML_Common
|
|
|
{
|
|
|
$colspan = isset($attributes['colspan']) ? $attributes['colspan'] : 1;
|
|
|
$rowspan = isset($attributes['rowspan']) ? $attributes['rowspan'] : 1;
|
|
|
+ if (!is_numeric($row) or !is_numeric($col)) {
|
|
|
+ //throw new Exception('Row or column index is not numerical');
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (($row + $rowspan - 1) >= $this->_rows) {
|
|
|
if ($this->_autoGrow) {
|
|
|
$this->_rows = $row + $rowspan;
|