mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
fixing some conditions in the previous commit stalling InfoLog list
This commit is contained in:
parent
6ac401ef19
commit
29d2d7a580
@ -147,7 +147,8 @@ class Widget
|
||||
}
|
||||
|
||||
// Reset content as we leave
|
||||
if ($old_cont ?? null) {
|
||||
if (isset($old_cont))
|
||||
{
|
||||
self::$cont = $old_cont;
|
||||
}
|
||||
}
|
||||
@ -206,7 +207,7 @@ class Widget
|
||||
$template = $this;
|
||||
while($reader->moveToNextAttribute())
|
||||
{
|
||||
if ($reader->name != 'id' && isset($template->attr[$reader->name]) && $template->attr[$reader->name] !== $reader->value)
|
||||
if ($reader->name != 'id' && (!isset($template->attr[$reader->name]) || $template->attr[$reader->name] !== $reader->value))
|
||||
{
|
||||
if (!$cloned)
|
||||
{
|
||||
|
@ -186,7 +186,7 @@ class Nextmatch extends Etemplate\Widget
|
||||
if (true) $value =& self::get_array(self::$request->content, $form_name, true);
|
||||
|
||||
// Add favorite here so app doesn't save it in the session
|
||||
if (empty($_GET['favorite']))
|
||||
if (!empty($_GET['favorite']))
|
||||
{
|
||||
$send_value['favorite'] = $safe_name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user