Skip to content

Commit

Permalink
Correcting 1.99 webhosting check
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar-interserver committed Sep 19, 2019
1 parent 322444e commit 7f5d104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function_requirements('class.OpenSRS');
if ($db->Record['website_status'] == 'active')
$website_active = true;
}
if ($website_active === true) {
if ($website_active == false) {
dialog('Failed', 'Kindly make payment of website '.$db->Record['website_id'].' you ordered along with this domain.');
myadmin_log('opensrs', 'info', "Customer trying to register domain without paying webhosting order {$db->Record['website_id']}", __LINE__, __FILE__, self::$module, $serviceClass->getId());
return false;
Expand Down

0 comments on commit 7f5d104

Please sign in to comment.