From 1e215da6e1a7aa2b20d309542ecbb51c8a9212e9 Mon Sep 17 00:00:00 2001 From: Koala <330686+Koala@users.noreply.github.com> Date: Fri, 28 Jul 2023 14:53:49 +0200 Subject: [PATCH 1/2] ->debugsql = 0; ersetzt --- pages/module.php | 2 +- pages/module_mform_mblock.php | 2 +- pages/more_examples.php | 3 +-- pages/pakete.php | 2 +- pages/templates.php | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pages/module.php b/pages/module.php index 75775f5..7e506cb 100644 --- a/pages/module.php +++ b/pages/module.php @@ -192,7 +192,7 @@ function show_errors($errors = array()) { $output = $moduls[$module_key]['output']; $mi = rex_sql::factory(); - $mi->debugsql = 0; +// $mi->setDebug(); $mi->setTable('rex_module'); $mi->setValue('input', $input); $mi->setValue('output', $output); diff --git a/pages/module_mform_mblock.php b/pages/module_mform_mblock.php index 6138c9d..8ce14b4 100644 --- a/pages/module_mform_mblock.php +++ b/pages/module_mform_mblock.php @@ -192,7 +192,7 @@ function show_errors($errors = array()) { $output = $moduls[$module_key]['output']; $mi = rex_sql::factory(); - $mi->debugsql = 0; +// $mi->setDebug(); $mi->setTable('rex_module'); $mi->setValue('input', $input); $mi->setValue('output', $output); diff --git a/pages/more_examples.php b/pages/more_examples.php index 64afc55..97902bd 100644 --- a/pages/more_examples.php +++ b/pages/more_examples.php @@ -200,8 +200,7 @@ function show_errors($errors = array()) { $output = $moduls[$module_key]['output']; $mi = rex_sql::factory(); - $mi->debugsql = 0; - $mi->setTable('rex_module'); +// $mi->setDebug(); $mi->setValue('input', $input); $mi->setValue('output', $output); $mi->setValue('name', $modul_name); diff --git a/pages/pakete.php b/pages/pakete.php index f7156ac..c8578dc 100644 --- a/pages/pakete.php +++ b/pages/pakete.php @@ -192,7 +192,7 @@ function show_errors($errors = array()) { $template = $templates[$module_key]['template']; $mi = rex_sql::factory(); - $mi->debugsql = 0; +// $mi->setDebug(); $mi->setTable('rex_template'); $mi->setValue('content', $template); $mi->setValue('name', $modul_name); diff --git a/pages/templates.php b/pages/templates.php index e669f2b..d7f8ab3 100644 --- a/pages/templates.php +++ b/pages/templates.php @@ -193,7 +193,7 @@ function show_errors($errors = array()) { $template = $templates[$module_key]['template']; $mi = rex_sql::factory(); - $mi->debugsql = 0; +// $mi->setDebug(); $mi->setTable('rex_template'); $mi->setValue('content', $template); $mi->setValue('name', $modul_name); From dbeaf366c1fd7be26bc6e06ce3940e662d92f524 Mon Sep 17 00:00:00 2001 From: Koala <330686+Koala@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:51:56 +0200 Subject: [PATCH 2/2] Update more_examples.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setTable wieder eingefügt --- pages/more_examples.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/more_examples.php b/pages/more_examples.php index 97902bd..14e0a67 100644 --- a/pages/more_examples.php +++ b/pages/more_examples.php @@ -201,6 +201,7 @@ function show_errors($errors = array()) { $mi = rex_sql::factory(); // $mi->setDebug(); + $mi->setTable('rex_module'); $mi->setValue('input', $input); $mi->setValue('output', $output); $mi->setValue('name', $modul_name);