Skip to content
Snippets Groups Projects
Commit a8309711 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: SQL Error

parent 125bf602
No related tags found
No related merge requests found
...@@ -276,9 +276,7 @@ class Entrepot extends CommonObject ...@@ -276,9 +276,7 @@ class Entrepot extends CommonObject
*/ */
function info($id) function info($id)
{ {
$sql = "SELECT e.rowid, e.datec,"; $sql = "SELECT e.rowid, e.datec, e.tms as datem, e.fk_user_author";
$sql .= " e.datem,";
$sql .= " fk_user_author";
$sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e"; $sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e";
$sql .= " WHERE e.rowid = ".$id; $sql .= " WHERE e.rowid = ".$id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment