Fix: avoid warning

This commit is contained in:
Regis Houssin 2011-11-04 08:21:47 +01:00
parent fbdb483510
commit 1b568deaf6

View File

@ -771,12 +771,12 @@ function dol_delete_preview($object)
} }
/** /**
* Create a meta file with document file into same directory. * Create a meta file with document file into same directory.
* This should allow rgrep search * This should allow rgrep search
* *
* @param Object $object Object * @param Object $object Object
* @return void * @return void
*/ */
function dol_meta_create($object) function dol_meta_create($object)
{ {
global $langs,$conf; global $langs,$conf;
@ -815,6 +815,7 @@ function dol_meta_create($object)
"; ";
} }
} }
$fp = fopen($file,"w"); $fp = fopen($file,"w");
fputs($fp,$meta); fputs($fp,$meta);
fclose($fp); fclose($fp);