Version 1.3.1
This commit is contained in:
1 parent
f87d29ba65
commit
5699abfc0e
85 files changed
+272
-253
No files matched your search
+14
-1
@@ -182,15 +182,28 @@ function do_syndication()
|
||||
// Sort out the forum ids
|
||||
//----------------------------------------
|
||||
|
||||
$tmp_forums = array();
|
||||
$forums = array();
|
||||
|
||||
if ( $ibforums->input['f'] )
|
||||
{
|
||||
$forums = explode( ",", $ibforums->input['f'] );
|
||||
$tmp_forums = explode( ",", $ibforums->input['f'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
fatal_error("Fatal error: no forum id specified");
|
||||
}
|
||||
|
||||
foreach ($tmp_forums as $f )
|
||||
{
|
||||
$f = intval($f);
|
||||
|
||||
if ( $f )
|
||||
{
|
||||
$forums[] = $f;
|
||||
}
|
||||
}
|
||||
|
||||
if ( count($forums) < 1 )
|
||||
{
|
||||
fatal_error("Fatal error: no forum id specified");
|
||||
|
||||
Reference in new issue
Block a user