mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed AND tested et_media
This commit is contained in:
parent
dc384ab924
commit
d48f360667
@ -424,7 +424,7 @@ and fill the content:</p>
|
|||||||
);
|
);
|
||||||
$this->tmpl->read('et_media.show');
|
$this->tmpl->read('et_media.show');
|
||||||
|
|
||||||
$this->tmpl->exec('et_media.et_media.edit',$content);
|
$this->tmpl->exec('et_media.ui_et_media.edit',$content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</pre><p>
|
</pre><p>
|
||||||
@ -455,6 +455,7 @@ edit-function too:</p>
|
|||||||
elseif (isset($content['read']))
|
elseif (isset($content['read']))
|
||||||
{
|
{
|
||||||
unset($content['id']); <span>// not set by user, so dont use for seach</span>
|
unset($content['id']); <span>// not set by user, so dont use for seach</span>
|
||||||
|
unset($content['read']);
|
||||||
$found = $this->search($content,False,'name,author'); <span>// searches by using the no-empty fields</span>
|
$found = $this->search($content,False,'name,author'); <span>// searches by using the no-empty fields</span>
|
||||||
|
|
||||||
if (!$found)
|
if (!$found)
|
||||||
|
Loading…
Reference in New Issue
Block a user