Changeset 6402
- Timestamp:
- 07/07/08 16:15:41 (20 months ago)
- Files:
-
- 1 modified
-
branches/1.7/lib/model/blog.entry.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/lib/model/blog.entry.php
r6298 r6402 352 352 requireModel('blog.category'); 353 353 $entries = array(); 354 $paging = initPaging($folderURL, '/');354 $paging = $isNotice ? initPaging("$blogURL/notice", '/') : initPaging("$blogURL/entry", '/'); 355 355 $visibility = doesHaveOwnership() ? '' : 'AND e.visibility > 0'; 356 356 $visibility .= ($isNotice || doesHaveOwnership()) ? '' : ' AND (c.visibility > 1 OR e.category = 0)'; … … 422 422 requireModel('blog.category'); 423 423 $entries = array(); 424 $paging = initPaging("$blogURL/entry", '/');424 $paging = $isNotice ? initPaging("$blogURL/notice", '/') : initPaging("$blogURL/entry", '/'); 425 425 $visibility = doesHaveOwnership() ? '' : 'AND e.visibility > 0'; 426 426 $visibility .= ($isNotice || doesHaveOwnership()) ? '' : getPrivateCategoryExclusionQuery($blogid);
