summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-01 16:57:21 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-01 16:57:21 +0200
commitf8fa314f91df00c6f0e5089b02364d2eaf1b8440 (patch)
tree6d6f36efff610130f4a9d0d0febf6c4beaf8a03c /includes
parenta6ae837dfcec95fa6eea25c64f3101ed25d0472a (diff)
downloadcacert-devel-f8fa314f91df00c6f0e5089b02364d2eaf1b8440.tar.gz
cacert-devel-f8fa314f91df00c6f0e5089b02364d2eaf1b8440.tar.xz
cacert-devel-f8fa314f91df00c6f0e5089b02364d2eaf1b8440.zip
bug 28: Fix a syntax error in newly included file
Diffstat (limited to 'includes')
-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
+}