Fix error introduced in commit 209 in users_Ajax when the params are sent via GET Users assigment

This commit is contained in:
Hugo Loza
2011-01-11 16:26:02 +00:00
parent 74d7795ef4
commit 107091159b

View File

@@ -42,16 +42,14 @@ try {
{
$_POST = $_POST['form'];
}
if(isset($_POST['function']))
{$value= $_POST['function'];
$value = get_ajax_value('function');}
else
{$value= $_POST['functions'];
$value = get_ajax_value('functions');}
switch ($value)
{
if(isset($_REQUEST['function'])){
//$value= $_POST['function'];
$value = get_ajax_value('function');
}else{
//$value= $_POST['functions'];
$value = get_ajax_value('functions');
}
switch ($value){
case 'verifyUsername':
//print_r($_POST); die;
$_POST['sOriginalUsername'] = get_ajax_value('sOriginalUsername');