Oops, regression!

orig_fof
steveminutillo 2007-05-08 02:36:24 +00:00
parent 717d4f42e2
commit d0c16e4027
1 changed files with 17 additions and 15 deletions

View File

@ -27,6 +27,12 @@ while (list ($key, $val) = each ($_POST))
} }
} }
if($_POST['feed'])
{
fof_db_mark_feed_read(fof_current_user(), $_POST['feed']);
}
else
{
if($items) if($items)
{ {
if($_POST['action'] == 'read') if($_POST['action'] == 'read')
@ -39,12 +45,8 @@ if($items)
fof_db_mark_unread(fof_current_user(), $items); fof_db_mark_unread(fof_current_user(), $items);
} }
}
}
header("Location: " . urldecode($_POST['return'])); header("Location: " . urldecode($_POST['return']));
}
if($_POST['feed'])
{
fof_db_mark_feed_read(fof_current_user(), $_POST['feed']);
}
?> ?>