Dankoo
Active Member
- Joined
- Sep 4, 2010
- Messages
- 1,007
- Reaction score
- 27
I'm trying to add an parameter at character search
Account status: VIP or Free
So, I've done the following:
www/system/aplications/views/view_character.php
www/system/applications/libraries/POT/OTS_account.php
But I'm getting this error:
401 =
Any ideas?
Account status: VIP or Free
So, I've done the following:
www/system/aplications/views/view_character.php
PHP:
<tr><td width='30%'>Account Status</td><td><?php echo $status = ($account->isVIP()) ? "VIP" : "Free"; ?></td></tr>
www/system/applications/libraries/POT/OTS_account.php
PHP:
public function isVIP()
{
return ($this->data['vipdays'] > 0);
}
But I'm getting this error:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: vipdays
Filename: POT/OTS_Account.php
Line Number: 401
401 =
PHP:
return ($this->data['vipdays'] > 0);
Any ideas?