Fix: langs not defined

This commit is contained in:
Laurent Destailleur 2008-12-30 21:51:05 +00:00
parent 591a9894db
commit ac7b9da097

View File

@ -1408,7 +1408,7 @@ class Propal extends CommonObject
*/ */
function delete($user) function delete($user)
{ {
global $conf; global $conf,$langs;
$sql = "DELETE FROM ".MAIN_DB_PREFIX."propaldet WHERE fk_propal = ".$this->id; $sql = "DELETE FROM ".MAIN_DB_PREFIX."propaldet WHERE fk_propal = ".$this->id;
if ( $this->db->query($sql) ) if ( $this->db->query($sql) )