gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/common/include utils.php,1.35,1.36


From: tom
Subject: [Gforge-commits] gforge/common/include utils.php,1.35,1.36
Date: Wed, 25 Aug 2004 13:55:15 -0500

Update of /cvsroot/gforge/gforge/common/include
In directory db.perdue.net:/tmp/cvs-serv21446/common/include

Modified Files:
        utils.php 
Log Message:
More PHP 'notice' cleanups

Index: utils.php
===================================================================
RCS file: /cvsroot/gforge/gforge/common/include/utils.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- utils.php   13 Aug 2004 20:12:16 -0000      1.35
+++ utils.php   25 Aug 2004 18:55:12 -0000      1.36
@@ -433,9 +433,11 @@
  *
  */
 function util_make_links ($data='') {
-       if(empty($data)) { return $data; }
-
+       if(empty($data)) { 
+               return $data; 
+       }
        $lines = split("\n",$data);
+       $newText = "";
        while ( list ($key,$line) = each ($lines)) {
                // When we come here, we usually have form input
                // encoded in entities. Our aim is to NOT include





reply via email to

[Prev in Thread] Current Thread [Next in Thread]