mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +01:00
fixed "PHP Fatal error: Unsupported operand types in /opt/local/apache2/htdocs/egroupware/etemplate/inc/class.etemplate_widget_projectmanager.inc.php on line 56"
This commit is contained in:
parent
14d593d600
commit
19b3120be6
@ -40,10 +40,11 @@ class etemplate_widget_projectmanager extends etemplate_widget_transformer
|
|||||||
*/
|
*/
|
||||||
public function beforeSendToClient($cname)
|
public function beforeSendToClient($cname)
|
||||||
{
|
{
|
||||||
|
$form_name = self::form_name($cname, $this->id);
|
||||||
if (!is_array(self::$request->sel_options[$form_name])) self::$request->sel_options[$form_name] = array();
|
if (!is_array(self::$request->sel_options[$form_name])) self::$request->sel_options[$form_name] = array();
|
||||||
|
|
||||||
if ($this->type)
|
if ($this->type)
|
||||||
{
|
{
|
||||||
$form_name = self::form_name($cname, $this->id);
|
|
||||||
// += to keep further options set by app code
|
// += to keep further options set by app code
|
||||||
$pm_widget = new projectmanager_widget();
|
$pm_widget = new projectmanager_widget();
|
||||||
$cell = $this->attrs + array('type'=>$this->type);
|
$cell = $this->attrs + array('type'=>$this->type);
|
||||||
|
Loading…
Reference in New Issue
Block a user