mirror of
https://github.com/kcozens/OpenSimProfile.git
synced 2026-08-14 09:02:00 +00:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user