[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] gallery/setup functions.inc,1.203,1.204
From:       Jay Rossiter <cryptographite () users ! sourceforge ! net>
Date:       2004-10-29 21:23:24
Message-ID: E1CNeDV-0005v9-2A () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/setup
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22616/setup

Modified Files:
	functions.inc 
Log Message:
2004-10-29  Jay Rossiter <cryptographite@users.sf.net>  1.5-cvs-b257

        * Fix 1055656: Return array() instead of NULL

	* Also - renamed all ChangeLog entries to 1.5


Index: functions.inc
===================================================================
RCS file: /cvsroot/gallery/gallery/setup/functions.inc,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- functions.inc	22 Oct 2004 08:15:54 -0000	1.203
+++ functions.inc	29 Oct 2004 21:23:22 -0000	1.204
@@ -861,7 +861,7 @@
 
 	// If we are in Linux, our PHP has gettext, 
 	// but we could not find any locale we skip the whole aliasing part.
-	if($locales == NULL) return;
+	if($locales == NULL) return $results; // blank array
 
 	$nls = getNLS();
 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic