Fixed - Incorrect WHMCS table name for addons table
This commit is contained in:
parent
2f148722fa
commit
3aa153cabd
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ function websitepanel_addons_output($params)
|
||||||
if ($_POST && isset($_POST['action']) && $_POST['action'] == 'add')
|
if ($_POST && isset($_POST['action']) && $_POST['action'] == 'add')
|
||||||
{
|
{
|
||||||
// Sanity check to make sure the WHMCS addon ID exists
|
// Sanity check to make sure the WHMCS addon ID exists
|
||||||
$results = select_query('mod_wspaddons', 'id', array('id' => $_POST['whmcs_id']));
|
$results = select_query('tbladdons', 'id', array('id' => $_POST['whmcs_id']));
|
||||||
if (mysql_num_rows($results) > 0)
|
if (mysql_num_rows($results) > 0)
|
||||||
{
|
{
|
||||||
$results = select_query('mod_wspaddons', 'whmcs_id', array('whmcs_id' => $_POST['whmcs_id']));
|
$results = select_query('mod_wspaddons', 'whmcs_id', array('whmcs_id' => $_POST['whmcs_id']));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue