From: Nyloth <ny...@ti...> - 2011-01-27 18:50:50
|
I agree with sept_7 - Sylvie, any comment ? But +1 as a Q&D fix for 6.x Nyloth 2011/1/20 Stephane Casset <se...@lo...> > Le Thu, Jan 20, 2011 at 04:16:01PM +0000, sy...@us...écrivait : > > Revision: 32037 > > > http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=32037&view=rev > > Author: sylvieg > > Date: 2011-01-20 16:16:01 +0000 (Thu, 20 Jan 2011) > > > > Log Message: > > ----------- > > [bp/r32036][FIX]fgal: path can also be null > > +.7, can't we have a default value for path like '' ? > > > Modified Paths: > > -------------- > > branches/proposals/6.x/lib/filegals/filegallib.php > > > > Modified: branches/proposals/6.x/lib/filegals/filegallib.php > > =================================================================== > > --- branches/proposals/6.x/lib/filegals/filegallib.php 2011-01-20 > 16:13:55 UTC (rev 32036) > > +++ branches/proposals/6.x/lib/filegals/filegallib.php 2011-01-20 > 16:16:01 UTC (rev 32037) > > @@ -1364,7 +1364,7 @@ > > $query = 'select `fileId` from `tiki_files` where > `path` != ?'; > > $msg = tra('Number of files transferred to the > database:'); > > } else { > > - $query = 'select `fileId` from `tiki_files` where > `path` = ?'; > > + $query = 'select `fileId` from `tiki_files` where > `path` = ? or `path` is null'; > > $msg = tra('Number of files transferred to the file > system:'); > > } > > $result = $this->query($query, array('')); > > > > > > A+ > -- > Stéphane Casset LOGIDÉE sàrl Se faire plaisir d'apprendre > 1a, rue Pasteur Tel : +33 388 23 69 77 ca...@lo... > F-67540 OSTWALD Fax : +33 388 23 69 77 http://logidee.com > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Tikiwiki-cvs mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs > |