Skip to content

Commit

Permalink
Merge pull request #5563 from fmarcet/3.9
Browse files Browse the repository at this point in the history
FIX: Can't create withdrawal document
  • Loading branch information
Juanjo Menent committed Jul 29, 2016
2 parents a40ea93 + 5bc51a3 commit 4cadf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/compta/prelevement/class/bonprelevement.class.php
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2010-2015 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2010-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2014 Ferran Marcet <fmarcet@2byte.es>
* Copyright (C) 2014-2016 Ferran Marcet <fmarcet@2byte.es>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -919,7 +919,7 @@ function Create($banque=0, $agence=0, $mode='real')
$dir=$conf->prelevement->dir_output.'/receipts';
if (! is_dir($dir)) dol_mkdir($dir);

$this->filename = $dir.'/receipts/'.$ref.'.xml';
$this->filename = $dir.$ref.'.xml';

// Create withdraw receipt in database
$sql = "INSERT INTO ".MAIN_DB_PREFIX."prelevement_bons (";
Expand Down

0 comments on commit 4cadf0e

Please sign in to comment.