[Gnucash-changes] List directories are all lower case, so convert query string mixed case

Neil Williams codehelp at cvs.gnucash.org
Tue May 11 13:57:36 EDT 2004


Log Message:
-----------
List directories are all lower case, so convert query string mixed case to lower case

Modified Files:
--------------
    mail-search:
        search.php

Revision Data
-------------
Index: search.php
===================================================================
RCS file: /home/cvs/cvsroot/mail-search/search.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lsearch.php -Lsearch.php -u -r1.11 -r1.12
--- search.php
+++ search.php
@@ -209,7 +209,9 @@
 These are not likely to change but the two arrays MUST be the same length
 and the start date MUST match the relevant ID if new archives are created.
 The ID is the name of the folder containing the archive.
+List directories are all lower case, so convert mixed case to lower:
 */
+$list = strtolower($list);
 $list_identities = array(  "gnucash-user", "gnucash-devel", "gnucash-announce", "gnucash-changes", "gnucash-de", "gnucash-es", "gnucash-fr", "gnucash-it", "gnucash-patches" );
 $assert_id = count($list_identities);
 $list_starts = array( "2000-7" /*user*/, "2000-7" /*devel*/, "2000-9" /*announce*/, "2004-2" /*changes*/,


More information about the gnucash-changes mailing list