diff --git a/admin/cms.php b/admin/cms.php index ecd787f..3076762 100644 --- a/admin/cms.php +++ b/admin/cms.php @@ -36,7 +36,7 @@ "website_content_management" ); - if(get_value_from_array($_POST, 'action',"save")) + if(get_value_from_array($_POST, 'action')=="save") { $err=false; foreach($config['languages'] AS $lang=>$langname) { diff --git a/admin/committees.php b/admin/committees.php index 317c5c3..ef3ab54 100644 --- a/admin/committees.php +++ b/admin/committees.php @@ -172,7 +172,7 @@ if(get_value_from_array($_POST,'committees_id') && get_value_from_array($_POST,' } -if(get_value_from_array($_POST, 'action', "assign")) +if(get_value_from_array($_POST, 'action')=="assign") { if(get_value_from_array($_POST, 'committees_id') && get_vaue_from_array($_POST,'users_uid')) { $cid = intval($_POST['committees_id']); @@ -199,7 +199,7 @@ if(get_value_from_array($_GET, 'deletecommittee')) { echo happy(i18n("Committee removed")); } -if(get_value_from_array($_POST, 'action',"remove")) { +if(get_value_from_array($_POST, 'action')=="remove") { /* user_delete takes care of unlinking the user in other tables */ user_delete($uid, 'committee'); echo happy(i18n("Committee member deleted")); diff --git a/admin/donors.php b/admin/donors.php index d49620f..888fbda 100644 --- a/admin/donors.php +++ b/admin/donors.php @@ -1293,7 +1293,7 @@ echo "