Skip to content
Snippets Groups Projects
Commit 1a389b6f authored by florian HENRY's avatar florian HENRY
Browse files

fix upload photo for categ

parent 34f08ce0
No related branches found
No related tags found
No related merge requests found
......@@ -1530,8 +1530,6 @@ class Categorie extends CommonObject
*/
function add_photo($sdir, $file)
{
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
$dir = $sdir .'/'. get_exdir($this->id,2,0,0,$this,'category') . $this->id ."/";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment