From e02af43ce60f2a7493c8ca1c233001fbc58408eb Mon Sep 17 00:00:00 2001 From: steveminutillo Date: Tue, 26 Jun 2007 03:48:24 +0000 Subject: [PATCH] only need to redirect on non-Ajax calls --- view-action.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/view-action.php b/view-action.php index 6c9e489..57c32a4 100644 --- a/view-action.php +++ b/view-action.php @@ -49,8 +49,7 @@ else fof_db_mark_unread(fof_current_user(), $items); } + header("Location: " . urldecode($_POST['return'])); } } - -header("Location: " . urldecode($_POST['return'])); ?>