Task #8618: Some fixes

This commit is contained in:
Juanjo Menent 2010-11-05 21:30:38 +00:00
parent 07edf7bee9
commit 8d444cd6cb

View File

@ -160,7 +160,6 @@ if ($_GET["action"] == 'setdoc')
} }
// On active le modele // On active le modele
$type='supplier_order';
$sql_del = "DELETE FROM ".MAIN_DB_PREFIX."document_model"; $sql_del = "DELETE FROM ".MAIN_DB_PREFIX."document_model";
$sql_del.= " WHERE nom = '".$_GET["value"]."'"; $sql_del.= " WHERE nom = '".$_GET["value"]."'";
$sql_del.= " AND type = '".$_GET["type"]."'"; $sql_del.= " AND type = '".$_GET["type"]."'";
@ -465,7 +464,6 @@ print '</tr>'."\n";
clearstatcache(); clearstatcache();
$handle=opendir($dir); $handle=opendir($dir);
print 'xxx='.$conf->global->INVOICE_SUPPLIER_ADDON_PDF;
$var=true; $var=true;
while (($file = readdir($handle))!==false) while (($file = readdir($handle))!==false)
{ {