mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fixed a warning
This commit is contained in:
parent
34deae3dde
commit
730ce71b8b
@ -181,7 +181,16 @@
|
||||
$this->etemplate->size = $content['size'];
|
||||
$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;
|
||||
while (isset($content[$name = $this->etemplate->num2chrs($col) . $row]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user