From b5e551557b35914203c22a9ae4d99f29287d693b Mon Sep 17 00:00:00 2001 From: natrak <> Date: Fri, 21 Dec 2001 10:07:54 +0000 Subject: [PATCH] - removed errors on empty meta tags: http://www.drupal.org/node.php?id=21 --- modules/meta.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/meta.module b/modules/meta.module index c80c1e462253..f88186a932cd 100644 --- a/modules/meta.module +++ b/modules/meta.module @@ -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; -- GitLab