Skip to content
Snippets Groups Projects
Commit b5e55155 authored by natrak's avatar natrak
Browse files

- removed errors on empty meta tags:

parent f7de56cc
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ function meta_form($type, $edit = array()) { ...@@ -31,7 +31,7 @@ function meta_form($type, $edit = array()) {
$t = db_query("SELECT * FROM tag WHERE collections LIKE '%$collection->name%' ORDER BY name"); $t = db_query("SELECT * FROM tag WHERE collections LIKE '%$collection->name%' ORDER BY name");
while ($tag = db_fetch_object($t)) { while ($tag = db_fetch_object($t)) {
if (strstr($edit[attributes], $tag->attributes)) { if (@strstr($edit[attributes], $tag->attributes)) {
$edit[$collection->name] = $tag->attributes; $edit[$collection->name] = $tag->attributes;
} }
$array[$tag->attributes] = $tag->name; $array[$tag->attributes] = $tag->name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment