1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Closes #1801 Code cleanup. Deprecated method errors added.

This commit is contained in:
Cameron
2020-12-22 14:48:28 -08:00
parent 881670d92c
commit 402d1f4126
37 changed files with 347 additions and 393 deletions

View File

@@ -30,7 +30,7 @@ if(!e_AJAX_REQUEST) // Legacy method.
$returnurl = $tp -> toDB($qs[2]);
$rate = (int) $qs[3];
e107::getRate()->submitVote($table,$itemid,$rate);
header("location:".$returnurl);
e107::redirect($returnurl);
exit;
}
else // Ajax Used.