summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornatrak2001-12-21 10:07:54 +0000
committernatrak2001-12-21 10:07:54 +0000
commitb5e551557b35914203c22a9ae4d99f29287d693b (patch)
tree2a92b9fba5f3fd02f93f38ffcb65aa583124a7d9
parentf7de56cc1690fa8fb330d8e538e9e4181c1fc895 (diff)
- removed errors on empty meta tags:3.0.03.0.x
http://www.drupal.org/node.php?id=21
-rw-r--r--modules/meta.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/meta.module b/modules/meta.module
index c80c1e4..f88186a 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;