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,24 +27,26 @@ while (list ($key, $val) = each ($_POST))
}
}
if($items)
{
if($_POST['action'] == 'read')
{
fof_db_mark_read(fof_current_user(), $items);
}
if($_POST['action'] == 'unread')
{
fof_db_mark_unread(fof_current_user(), $items);
}
header("Location: " . urldecode($_POST['return']));
}
if($_POST['feed'])
{
fof_db_mark_feed_read(fof_current_user(), $_POST['feed']);
}
else
{
if($items)
{
if($_POST['action'] == 'read')
{
fof_db_mark_read(fof_current_user(), $items);
}
if($_POST['action'] == 'unread')
{
fof_db_mark_unread(fof_current_user(), $items);
}
}
}
header("Location: " . urldecode($_POST['return']));
?>