Merged revisions 5550-5553 via svnmerge from

svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel670

........
  r5550 | danydb | 2013-11-28 17:22:58 +0100 (jeu., 28 nov. 2013) | 1 line
  
  Empeche fermeture si une seule periode, empeche erreur si periode inexistante
........
  r5551 | danydb | 2013-11-28 20:55:32 +0100 (jeu., 28 nov. 2013) | 1 line
  
  resolve bug in export stock
........
  r5552 | danydb | 2013-11-28 20:55:34 +0100 (jeu., 28 nov. 2013) | 1 line
  
  Correct stock insert and reporting
........
  r5553 | danydb | 2013-11-29 13:52:45 +0100 (ven., 29 nov. 2013) | 2 lines
  
  Bug #922 : cosmetic
  Task #922 - Totaux à 0 dans la fiche COMPTA/MENUACH/ACH
........
This commit is contained in:
Dany De Bontridder 2013-11-29 14:46:54 +00:00
parent f3488ac37a
commit f64c79ca70
8 changed files with 48 additions and 26 deletions

View file

@ -415,7 +415,7 @@ class Periode
*/
function load()
{
if ($this->p_id == '') $this->p_id=-1;
$row=$this->cn->get_array("select p_start,p_end,p_exercice,p_closed,p_central from parm_periode where p_id=$1",
array($this->p_id));
if ($row == null ) return -1;