Commit b5e55155 authored by natrak's avatar natrak

- removed errors on empty meta tags:

  http://www.drupal.org/node.php?id=21
parent f7de56cc
......@@ -31,7 +31,7 @@ function meta_form($type, $edit = array()) {
$t = db_query("SELECT * FROM tag WHERE collections LIKE '%$collection->name%' ORDER BY name");
while ($tag = db_fetch_object($t)) {
if (strstr($edit[attributes], $tag->attributes)) {
if (@strstr($edit[attributes], $tag->attributes)) {
$edit[$collection->name] = $tag->attributes;
}
$array[$tag->attributes] = $tag->name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment