Changeset 1135:3f1b99d0153e for inc/public
- Timestamp:
- 03/27/13 21:30:20 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/lib.tpl.context.php
r975 r1135 451 451 452 452 # No src, look in category description if available 453 if (!$src && $with_category && $_ctx->categories)454 455 if (preg_match_all($pattern,$_ctx-> categories->cat_desc,$m) > 0)453 if (!$src && $with_category && $_ctx->posts->cat_desc) 454 { 455 if (preg_match_all($pattern,$_ctx->posts->cat_desc,$m) > 0) 456 456 { 457 457 foreach ($m[1] as $i => $img) {
Note: See TracChangeset
for help on using the changeset viewer.