fixed AND tested et_media

This commit is contained in:
Ralf Becker 2006-11-18 07:23:56 +00:00
parent dc384ab924
commit d48f360667

View File

@ -424,7 +424,7 @@ and fill the content:</p>
); );
$this-&gt;tmpl-&gt;read('et_media.show'); $this-&gt;tmpl-&gt;read('et_media.show');
$this-&gt;tmpl-&gt;exec('et_media.et_media.edit',$content); $this-&gt;tmpl-&gt;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-&gt;search($content,False,'name,author'); <span>// searches by using the no-empty fields</span> $found = $this-&gt;search($content,False,'name,author'); <span>// searches by using the no-empty fields</span>
if (!$found) if (!$found)