Commit 4860a240 authored by Skia's avatar Skia
Browse files

Fix pedagogie

parent d1a7a313
......@@ -166,7 +166,7 @@ class venteproduit extends stdentity
*/
function charge ( $produit, $comptoir )
{
if ( !$this->_charge(&$produit,&$comptoir) )
if ( !$this->_charge($produit,$comptoir) )
return false;
if ($produit->action == ACTION_VSTOCKLIM || $produit->action == ACTION_PASS )
if ($this->stock_local == 0 || $produit->stock_global == 0)
......
......@@ -274,7 +274,7 @@ function last_comments_box(&$db, $nb=5)
{
$cts = new contents("Commentaires");
$sql = new requete(&$db, "SELECT id_uv as id, id_commentaire, code, surnom_utbm
$sql = new requete($db, "SELECT id_uv as id, id_commentaire, code, surnom_utbm
FROM pedag_uv_commentaire
NATURAL JOIN pedag_uv
NATURAL JOIN utl_etu_utbm
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment