From a0206f6e870bd32c4eb39e4da723655f8cd9f46c Mon Sep 17 00:00:00 2001 From: Falko Timme <ft@falkotimme.com> Date: Wed, 23 Oct 2013 10:19:24 -0400 Subject: [PATCH] - Make sure a client cannot be deleted if he has records in the billing module. --- interface/web/admin/form/tpl_default.tform.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/web/admin/form/tpl_default.tform.php b/interface/web/admin/form/tpl_default.tform.php index 728e156..de63948 100644 --- a/interface/web/admin/form/tpl_default.tform.php +++ b/interface/web/admin/form/tpl_default.tform.php @@ -63,8 +63,8 @@ $form["description"] = "tpl_default_desc_txt"; $form["name"] = "tpl_default"; $form["action"] = "tpl_default.php"; -$form["db_table"] = "default"; -$form["db_table_idx"] = "var_id"; +$form["db_table"] = "sys_theme"; +$form["db_table_idx"] = "id"; $form["db_history"] = "yes"; $form["tab_default"] = "basic"; $form["list_default"] = "system_config_edit.php"; -- Gitblit v1.9.1