phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18385] fixed bug : minor is no more auto incremented


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] [18385] fixed bug : minor is no more auto incremented at each single update
Date: Mon, 10 Dec 2007 21:33:52 +0000

Revision: 18385
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18385
Author:   maat
Date:     2007-12-10 21:33:51 +0000 (Mon, 10 Dec 2007)

Log Message:
-----------
fixed bug : minor is no more auto incremented at each single update

Modified Paths:
--------------
    trunk/ged/inc/class.flow_client.inc.php

Modified: trunk/ged/inc/class.flow_client.inc.php
===================================================================
--- trunk/ged/inc/class.flow_client.inc.php     2007-12-03 00:57:45 UTC (rev 
18384)
+++ trunk/ged/inc/class.flow_client.inc.php     2007-12-10 21:33:51 UTC (rev 
18385)
@@ -501,7 +501,14 @@
                                }
                                else
                                {
-                                       $minor=$version['minor']+1;
+                                       if ( 
$context['custom_fields']['update_mode'] == 'update')
+                                       {
+                                               $minor=$version['minor'];
+                                       }
+                                       else
+                                       {
+                                               $minor=$version['minor']+1;
+                                       }
                                }
                                
                                
$this->t->set_file(array('update_file_tpl'=>'update_file.tpl'));






reply via email to

[Prev in Thread] Current Thread [Next in Thread]