Fixed classified ads "renew weekly" flag test. Was operator precedence issue.

git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@107 19860011-0018-435d-96ae-4a7b0aaa3128
This commit is contained in:
kcozens
2012-12-18 23:00:40 +00:00
parent cd47a06d9a
commit 461714a782
+1 -1
View File
@@ -114,7 +114,7 @@ function classified_update($method_name, $params, $app_data)
if ($ready == 0)
{
//Renew Weekly flag is 32 (1 << 5)
if ($classifiedflag & 32 == 0)
if (($classifiedflag & 32) == 0)
{
$creationdate = time();
$expirationdate = time() + (7 * 24 * 60 * 60);