From 52b2603d333e017cc1a756f80c02697027ef9176 Mon Sep 17 00:00:00 2001 From: Joe Huss Date: Thu, 20 Jul 2017 13:23:45 -0400 Subject: [PATCH] namespace fixs --- bin/crud/make_cruds.php | 2 +- src/crud/crud_dns_editor.php | 2 +- src/crud/same_domain_accounts.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/crud/make_cruds.php b/bin/crud/make_cruds.php index 3b0fcbf..07cf34f 100755 --- a/bin/crud/make_cruds.php +++ b/bin/crud/make_cruds.php @@ -2,7 +2,7 @@ variables->request['id']; crud::init("select * from records where domain_id='{$domain_id}'", 'pdns') ->set_title('DNS Editor') diff --git a/src/crud/same_domain_accounts.php b/src/crud/same_domain_accounts.php index e4337d6..a1b7849 100644 --- a/src/crud/same_domain_accounts.php +++ b/src/crud/same_domain_accounts.php @@ -14,7 +14,7 @@ * @return void */ function same_domain_accounts() { - function_requirements('class.crud'); + function_requirements('class.Crud'); $id = (int)$GLOBALS['tf']->variables->request['id']; crud::init("select account_id,account_lid,account_status from accounts where account_lid like (select concat('%',substring(account_lid, locate('@', account_lid))) from accounts where account_id={$id})") ->set_title("Accounts matching the @domain.com of client {$id}")