Fwd: not sure where to post this...sorry

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>

----- Weitergeleitete Nachricht von [email protected] -----
    Datum: Thu, 4 Sep 2003 12:52:29 -0400
    Von: "John L. Johnson" <[email protected]>
Antwort an: [email protected]
 Betreff: not sure where to post this...sorry
      An: [email protected]

In Chora 1.2, the "diffs ignoring whitespace" was not actually triggering
the proper type of diff, until I made this change to Chora.php:

--- Chora.php.jj    2003-09-03 16:31:50.610016000 -0400
+++ Chora.php   2003-09-03 17:51:36.830003000 -0400
@@ -250,7 +250,10 @@

         $argarr = array();
         foreach ($arglist as $key => $val) {
-            if (!empty($val)) {
+//            if (!empty($val)) {
+// JJNIC - 09/03/03
+// empty returns true for a zero value, breaking ws (whitespace) variable,
etc
+            if (isset($val)) {
                 $val = htmlspecialchars($val);
                 $argarr[] = "$key=$val";
             }



----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


-- 
Chora mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.