[med-svn] [openemr] 01/04: Fix for lang_description that wasn't quoted correctly.

Ian Wallace iankarlwallace-guest at moszumanska.debian.org
Tue Sep 9 04:40:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

iankarlwallace-guest pushed a commit to branch master
in repository openemr.

commit 6bfa0446840bf49b7e976a12fc49b39ccf5cbd20
Author: Ian Wallace <iankarlwallace at gmail.com>
Date:   Mon Aug 25 19:31:31 2014 -0700

    Fix for lang_description that wasn't quoted correctly.
---
 debian/patches/login_lang_description_undeclared_constant | 11 +++++++++++
 debian/patches/series                                     |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/login_lang_description_undeclared_constant b/debian/patches/login_lang_description_undeclared_constant
new file mode 100644
index 0000000..dce1543
--- /dev/null
+++ b/debian/patches/login_lang_description_undeclared_constant
@@ -0,0 +1,11 @@
+--- a/interface/login/login.php
++++ b/interface/login/login.php
+@@ -182,7 +182,7 @@ if (count($result3) != 1) { ?>
+         echo "<option selected='selected' value='" . attr($defaultLangID) . "'>" . xlt('Default') . " - " . xlt($defaultLangName) . "</option>\n";
+         foreach ($result3 as $iter) {
+ 	        if ($GLOBALS['language_menu_showall']) {
+-                    if ( !$GLOBALS['allow_debug_language'] && $iter[lang_description] == 'dummy') continue; // skip the dummy language
++                    if ( !$GLOBALS['allow_debug_language'] && $iter['lang_description'] == 'dummy') continue; // skip the dummy language
+                     echo "<option value='".attr($iter['lang_id'])."'>".text($iter['trans_lang_description'])."</option>\n";
+ 		}
+ 	        else {
diff --git a/debian/patches/series b/debian/patches/series
index 7e7e7ff..35a0107 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+login_lang_description_undeclared_constant
 startup_developer_appliance_fails_syntax_check
 correct_webroot_dirs_globals_conf
 convert_logcomments_perl_invocation_fix

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/openemr.git



More information about the debian-med-commit mailing list