aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/languages.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/languages.class.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php
index 6f3348c87..db9d17b42 100644
--- a/admin/include/languages.class.php
+++ b/admin/include/languages.class.php
@@ -78,11 +78,11 @@ class languages
break;
}
- $query = "
-INSERT INTO ".LANGUAGES_TABLE."
- SET id = '".$language_id."',
- name = '".$this->fs_languages[$language_id]."'
-;";
+ $query = '
+INSERT INTO '.LANGUAGES_TABLE.'
+ (id, name)
+ VALUES(\''.$language_id.'\', \''.$this->fs_languages[$language_id].'\')
+;';
pwg_query($query);
break;