Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$mi->debugsql = 0; ersetzt #134

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion pages/module_mform_mblock.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions pages/more_examples.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Koala Ich glaube setTable() darf hier nicht entfernt werden da ja in Zeile 202 eine neue Instanz von rex_sql erstellt wird.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, verd... ja, das war eine Zeile zu viel

// $mi->setDebug();
$mi->setValue('input', $input);
$mi->setValue('output', $output);
$mi->setValue('name', $modul_name);
Expand Down
2 changes: 1 addition & 1 deletion pages/pakete.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion pages/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down