From: <pas...@us...> - 2010-01-19 05:01:57
|
Revision: 24538 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=24538&view=rev Author: pascalstjean Date: 2010-01-19 05:01:51 +0000 (Tue, 19 Jan 2010) Log Message: ----------- [MOD] Refactored get_blog_posts method call with new parameter Modified Paths: -------------- trunk/tiki-view_blog.php Modified: trunk/tiki-view_blog.php =================================================================== --- trunk/tiki-view_blog.php 2010-01-19 05:01:05 UTC (rev 24537) +++ trunk/tiki-view_blog.php 2010-01-19 05:01:51 UTC (rev 24538) @@ -122,7 +122,7 @@ // Get a list of last changes to the blog database $date_min = isset($_REQUEST['date_min']) ? $_REQUEST['date_min'] : ''; $date_max = isset($_REQUEST['date_max']) ? $_REQUEST['date_max'] : $tikilib->now; -$listpages = $bloglib->list_blog_posts($_REQUEST["blogId"], $offset, $blog_data["maxPosts"], $sort_mode, $find, $date_min, $date_max); +$listpages = $bloglib->list_blog_posts($_REQUEST["blogId"], false, $offset, $blog_data["maxPosts"], $sort_mode, $find, $date_min, $date_max); $temp_max = count($listpages["data"]); for ($i = 0; $i < $temp_max; $i++) { $listpages["data"][$i]["parsed_data"] = $tikilib->parse_data($bloglib->get_page($listpages["data"][$i]["data"], 1)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |