- Posts: 8
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
This did not work for me for the error on line 747. I fixed this by inserting the following line:HaiND wrote: 2: with problem line 747
you can edit from line 737 to line 747
for ($col = 0; $col < $cols; $col++) {
$colw = $this->items[$pid]->megaparams->get('colw' . ($col + 1), 0);
if (!$colw)
$colw = $this->items[$pid]->megaparams->get('colw');
if (is_null($colw) || !is_numeric($colw))
$colw = $this->getParam('megacss3-colwidth', 200);
//$colw = 200;
if (is_null($colw) || !is_numeric($colw))
$colw = 200;
$width += $colw;
}
edit:
for ($col = 0; $col < $cols; $col++) {
$colw = $this->items[$pid]->megaparams->get('colw' . ($col + 1), 0);
if (!$colw){
$colw = $this->items[$pid]->megaparams->get('colw');
}
if (is_null($colw) || !is_numeric($colw)){
$colw = $this->getParam('megacss3-colwidth', 200);
}
//$colw = 200;
if (is_null($colw) || !is_numeric($colw)){
$colw = 200;
}
$width += $colw;
}
Hope it will help you
Thanks
(int)$width = 0;
if (!$width) {
(int)$width = 0;
for ($col = 0; $col < $cols; $col++) {
$colw = $this->items[$pid]->megaparams->get('colw' . ($col + 1), 0);
if (!$colw)
$colw = $this->items[$pid]->megaparams->get('colw');
if (is_null($colw) || !is_numeric($colw))
$colw = $this->getParam('megacss3-colwidth', 200);
//$colw = 200;
if (is_null($colw) || !is_numeric($colw))
$colw = 200;
$width += $colw;
}
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.