if ($autopubev) { if ($_POST['feat'] != 0) { $feat = $_POST['feat']; if ($feat != '1') { $_POST['published'] = 1 ; } } $_POST['published'] = 1 ; } else { // omprakash changed to autopublish always 20/08/07 */ $_POST['published'] = 1 ; }