[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4c12000d90546bc834f9c9f5de813a2d6b5ee8ae

Evergreen Git git at git.evergreen-ils.org
Thu Mar 15 21:50:55 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  4c12000d90546bc834f9c9f5de813a2d6b5ee8ae (commit)
      from  83da0a93fb44afc261bbdd72901c713e9bb57dd4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4c12000d90546bc834f9c9f5de813a2d6b5ee8ae
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Mar 15 15:32:38 2012 -0400

    TPac: avoid mkurl param stripping for all defined url params
    
    Instead of checking truthiness, checked definedness.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Dan Scott <dan at coffeecode.net>

diff --git a/Open-ILS/src/templates/opac/parts/header.tt2 b/Open-ILS/src/templates/opac/parts/header.tt2
index 5db8139..d67a1d3 100644
--- a/Open-ILS/src/templates/opac/parts/header.tt2
+++ b/Open-ILS/src/templates/opac/parts/header.tt2
@@ -59,7 +59,7 @@
             IF val == ''; cgi.delete(p); END;
 
             # Delete POST vars unless we asked for them
-            UNLESS CGI.url_param(p) OR params.defined(p);
+            UNLESS CGI.url_param(p).defined OR params.defined(p);
                 cgi.delete(p);
             END;
         END;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/header.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list