Changeset 1201
- Timestamp:
- 02/21/10 02:00:15 (3 years ago)
- Files:
-
- 2 edited
-
branches/1.2/content/plugins/categories/categories.php (modified) (2 diffs)
-
trunk/content/plugins/categories/categories.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/content/plugins/categories/categories.php
r1186 r1201 154 154 $cat_meta = $h->getCatMeta($h->vars['category_id']); 155 155 156 if ( $cat_meta->category_desc) {156 if (isset($cat_meta->category_desc)) { 157 157 echo '<meta name="description" content="' . urldecode($cat_meta->category_desc) . '" />' . "\n"; 158 158 } else { … … 160 160 } 161 161 162 if ( $cat_meta->category_keywords) {162 if (isset($cat_meta->category_keywords)) { 163 163 echo '<meta name="keywords" content="' . urldecode($cat_meta->category_keywords) . '" />' . "\n"; 164 164 } else { -
trunk/content/plugins/categories/categories.php
r1190 r1201 154 154 $cat_meta = $h->getCatMeta($h->vars['category_id']); 155 155 156 if ( $cat_meta->category_desc) {156 if (isset($cat_meta->category_desc)) { 157 157 echo '<meta name="description" content="' . urldecode($cat_meta->category_desc) . '" />' . "\n"; 158 158 } else { … … 160 160 } 161 161 162 if ( $cat_meta->category_keywords) {162 if (isset($cat_meta->category_keywords)) { 163 163 echo '<meta name="keywords" content="' . urldecode($cat_meta->category_keywords) . '" />' . "\n"; 164 164 } else {
Note: See TracChangeset
for help on using the changeset viewer.