aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-30 19:44:30 -0700
committerredmatrix <git@macgirvin.com>2016-05-30 19:44:30 -0700
commit6602ff83dd54d0e17c985a5f527654fc2ed83eea (patch)
tree920d7fa37f10786e806e847cf6b59b20a42e7cb8 /include/language.php
parent490ab9e2c593275c0cf3d705a4ae52c6a22db4d9 (diff)
downloadvolse-hubzilla-6602ff83dd54d0e17c985a5f527654fc2ed83eea.tar.gz
volse-hubzilla-6602ff83dd54d0e17c985a5f527654fc2ed83eea.tar.bz2
volse-hubzilla-6602ff83dd54d0e17c985a5f527654fc2ed83eea.zip
start removing reserved words from database column names (this run: addon and hook)
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/language.php b/include/language.php
index 238c23028..96d3e48a9 100644
--- a/include/language.php
+++ b/include/language.php
@@ -132,10 +132,10 @@ function load_translation_table($lang, $install = false) {
}
if(! $install) {
- $plugins = q("SELECT name FROM addon WHERE installed=1;");
+ $plugins = q("SELECT aname FROM addon WHERE installed=1;");
if ($plugins !== false) {
foreach($plugins as $p) {
- $name = $p['name'];
+ $name = $p['aname'];
if(file_exists("addon/$name/lang/$lang/hstrings.php")) {
include("addon/$name/lang/$lang/hstrings.php");
}