Permalink
Browse files

Fix: SQL Error

  • Loading branch information...
1 parent 125bf60 commit a8309711361b9b737f2ba0bef892e7cb3ff0e7bd @eldy eldy committed May 31, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 htdocs/product/stock/entrepot.class.php
@@ -276,9 +276,7 @@ function fetch($id)
*/
function info($id)
{
- $sql = "SELECT e.rowid, e.datec,";
- $sql .= " e.datem,";
- $sql .= " fk_user_author";
+ $sql = "SELECT e.rowid, e.datec, e.tms as datem, e.fk_user_author";
$sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e";
$sql .= " WHERE e.rowid = ".$id;

0 comments on commit a830971

Please sign in to comment.