[Weberp-svn] SF.net SVN: weberp:[4236] trunk/includes/session.inc
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-01-09 20:28:11
|
Revision: 4236 http://weberp.svn.sourceforge.net/weberp/?rev=4236&view=rev Author: tim_schofield Date: 2011-01-09 20:28:05 +0000 (Sun, 09 Jan 2011) Log Message: ----------- Correct the quotes in the sql literals Modified Paths: -------------- trunk/includes/session.inc Modified: trunk/includes/session.inc =================================================================== --- trunk/includes/session.inc 2011-01-09 20:27:55 UTC (rev 4235) +++ trunk/includes/session.inc 2011-01-09 20:28:05 UTC (rev 4236) @@ -157,7 +157,7 @@ $CurrencyRates = GetECBCurrencyRates(); // gets rates from ECB see includes/MiscFunctions.php /*Loop around the defined currencies and get the rate from ECB */ if ($CurrencyRates!=false) { - $CurrenciesResult = DB_query('SELECT currabrev FROM currencies',$db); + $CurrenciesResult = DB_query("SELECT currabrev FROM currencies",$db); while ($CurrencyRow = DB_fetch_row($CurrenciesResult)){ if ($CurrencyRow[0]!=$_SESSION['CompanyRecord']['currencydefault']){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |