From 5d3dfb2a115f0009f9a376256174a3a5700efc22 Mon Sep 17 00:00:00 2001 From: Remi Date: Wed, 6 Jul 2016 22:21:34 +0200 Subject: [PATCH] Bug fix: Error in function get_variable_from_db --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index 5f005c52..b6cd5fee 100755 --- a/src/functions.sh +++ b/src/functions.sh @@ -104,7 +104,7 @@ get_name_by_uid() { } get_variable_from_db() { - mysql_query 'SELECT value FROM membres WHERE name="'"$1"'" LIMIT 1;' + mysql_query 'SELECT value FROM variable WHERE name="'"$1"'" LIMIT 1;' }