mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
Update version
This commit is contained in:
parent
b6ca7d7cc1
commit
1e641b6043
3 changed files with 3 additions and 2 deletions
|
|
@ -1676,6 +1676,7 @@ function get_recent($filter, $var, $count = null, $custom = null)
|
|||
} else {
|
||||
if ($filter == 'profile') {
|
||||
$posts = get_profile_posts($var, 1, $count);
|
||||
if ($posts) $posts = $posts[0];
|
||||
} elseif ($filter == 'category') {
|
||||
$posts = get_category($var, 1, $count);
|
||||
if ($posts) $posts = $posts[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue