mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 09:29:45 +01:00
Merge pull request #3416 from newbthenewbd/patch-1
Fix ampersand handling in the legacy rating method
This commit is contained in:
commit
a6cb884277
2
rate.php
2
rate.php
@ -17,7 +17,7 @@ e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||
|
||||
if(!e_AJAX_REQUEST) // Legacy method.
|
||||
{
|
||||
$qs = explode("^", e_QUERY);
|
||||
$qs = explode("^", str_replace('&', '&', e_QUERY));
|
||||
|
||||
if (!$qs[0] || USER == FALSE || $qs[3] > 10 || $qs[3] < 1 || strpos($qs[2], '://') !== false)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user