[Weberp-svn] SF.net SVN: weberp:[4098] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-01-08 17:17:45
|
Revision: 4098 http://weberp.svn.sourceforge.net/weberp/?rev=4098&view=rev Author: tim_schofield Date: 2011-01-08 17:17:37 +0000 (Sat, 08 Jan 2011) Log Message: ----------- Correct the quotes in the sql literals Modified Paths: -------------- trunk/StockQuantityByDate.php trunk/includes/footer.inc Modified: trunk/StockQuantityByDate.php =================================================================== --- trunk/StockQuantityByDate.php 2011-01-08 17:17:26 UTC (rev 4097) +++ trunk/StockQuantityByDate.php 2011-01-08 17:17:37 UTC (rev 4098) @@ -16,7 +16,7 @@ echo "<form action='" . $_SERVER['PHP_SELF'] . "?". SID . "' method=post>"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -$sql = 'SELECT categoryid, categorydescription FROM stockcategory'; +$sql = "SELECT categoryid, categorydescription FROM stockcategory"; $resultStkLocs = DB_query($sql, $db); echo '<table class=selection><tr>'; @@ -36,7 +36,7 @@ } echo '</select></td>'; -$sql = 'SELECT loccode, locationname FROM locations'; +$sql = "SELECT loccode, locationname FROM locations"; $resultStkLocs = DB_query($sql, $db); echo '<td>' . _('For Stock Location') . ":</td> Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2011-01-08 17:17:26 UTC (rev 4097) +++ trunk/includes/footer.inc 2011-01-08 17:17:37 UTC (rev 4098) @@ -28,7 +28,7 @@ echo '<tr><td class="footer">webERP v' . $_SESSION['VersionNumber'] . ' ' . _('Copyright') . ' © weberp.org - '.date('Y').'</td></tr>'; if(http_file_exists('http://sflogo.sourceforge.net/sflogo.php')) { -// echo '<tr><td class="footer"><a href="https://sourceforge.net/projects/web-erp"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=70949&type=12" width="120" height="30" border="0" alt="Get webERP web-based ERP Accounting at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a></td></tr>'; + echo '<tr><td class="footer"><a href="https://sourceforge.net/projects/weberp"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=391629&type=12" width="120" height="30" border="0" alt="Get webERP web-based ERP Accounting at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a></td></tr>'; } echo '</table>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |