Skip to content

Commit

Permalink
Merge pull request #357 from lansuite/fix-345-manual-translation
Browse files Browse the repository at this point in the history
#345: Fix manual translation query
  • Loading branch information
M4LuZ committed Sep 10, 2018
2 parents c99d2cb + 7f8465f commit 658a57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/install/mod_cfg.php
Expand Up @@ -368,7 +368,7 @@
$dsp->AddFieldSetStart(t('Texte editieren.'));
if ($_POST['id']) {
foreach ($_POST['id'] as $key => $value) {
$db->qry("UPDATE %prefix%translation SET %plain% = %string% WHERE file = %string% AND id = %string%", $_SESSION['target_language'], $value, $_GET['file'], $key);
$db->qry("UPDATE %prefix%translation SET %plain% = %string% WHERE file = %string% AND id = %string%", $_SESSION['target_language'], $value, $_GET['module'], $key);
}

$func->confirmation('Module-Übersetzung wurde erfolgreich upgedatet');
Expand Down

0 comments on commit 658a57c

Please sign in to comment.