summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-01 16:57:38 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-01 16:57:38 +0200
commit32d2e33fa911c4e99350450be9bf8d716c5efea9 (patch)
treeac5643e02d9006b9684bf56645ea8ee67ca1f7e6
parent57a7a3de89548f9d1f38442896ee2ed78d8168e7 (diff)
parentf8fa314f91df00c6f0e5089b02364d2eaf1b8440 (diff)
downloadcacert-devel-32d2e33fa911c4e99350450be9bf8d716c5efea9.tar.gz
cacert-devel-32d2e33fa911c4e99350450be9bf8d716c5efea9.tar.xz
cacert-devel-32d2e33fa911c4e99350450be9bf8d716c5efea9.zip
Merge branch 'bug-28' into testserver-stable
-rw-r--r--includes/lib/l10n.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/lib/l10n.php b/includes/lib/l10n.php
index f834fd0..8325f4c 100644
--- a/includes/lib/l10n.php
+++ b/includes/lib/l10n.php
@@ -340,12 +340,13 @@ class L10n {
bindtextdomain($domain, $_SESSION['_config']['filepath'].'/locale');
textdomain($domain);
}
+}
- function get_recipient_language($accoundid){
+function get_recipient_language($accoundid){
//returns the language of a recipient to make sure that the language is correct
//use together with
- $query = "select * from `users` where `id`='".$id:"'";
+ $query = "select * from `users` where `id`='".$id."'";
$res = mysql_query($query);
$row = mysql_fetch_assoc($res);
return $row['language'];
-} \ No newline at end of file
+}