forked from extern/egroupware
fixed a warning
This commit is contained in:
parent
34deae3dde
commit
730ce71b8b
@ -181,7 +181,16 @@
|
|||||||
$this->etemplate->size = $content['size'];
|
$this->etemplate->size = $content['size'];
|
||||||
$this->etemplate->style = $content['style'];
|
$this->etemplate->style = $content['style'];
|
||||||
|
|
||||||
$this->etemplate->data = array($content['width']+$content['height']+$content['class']);
|
$opts = array();
|
||||||
|
$names = array('width','height','class');
|
||||||
|
while (list(,$opt) = each($names))
|
||||||
|
{
|
||||||
|
if (is_array($content[$opt]))
|
||||||
|
{
|
||||||
|
$opts += $content[$opt];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$this->etemplate->data = array($opts);
|
||||||
$row = 1; $col = 0;
|
$row = 1; $col = 0;
|
||||||
while (isset($content[$name = $this->etemplate->num2chrs($col) . $row]))
|
while (isset($content[$name = $this->etemplate->num2chrs($col) . $row]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user