phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [19006] fix: version numbering control allowed a new


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] [19006] fix: version numbering control allowed a new version with same number than the previous
Date: Tue, 09 Dec 2008 18:29:58 +0000

Revision: 19006
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19006
Author:   maat
Date:     2008-12-09 18:29:58 +0000 (Tue, 09 Dec 2008)

Log Message:
-----------
fix: version numbering control allowed a new version with same number than the 
previous

Modified Paths:
--------------
    modules/ged/trunk/inc/class.ged_dm.inc.php

Modified: modules/ged/trunk/inc/class.ged_dm.inc.php
===================================================================
--- modules/ged/trunk/inc/class.ged_dm.inc.php  2008-11-28 15:56:43 UTC (rev 
19005)
+++ modules/ged/trunk/inc/class.ged_dm.inc.php  2008-12-09 18:29:58 UTC (rev 
19006)
@@ -462,7 +462,7 @@
                
                if ( ($major < $last_version['major']) ||  
                ($major == $last_version['major'] && $minor < 
$last_version['minor']) || 
-               ($major == $last_version['major'] && $minor == 
$last_version['minor'] && $draft < $last_version['draft']) )
+               ($major == $last_version['major'] && $minor == 
$last_version['minor'] && $draft <= $last_version['draft']) )
                {
                        $major=$last_version['major'];
                        $minor=$last_version['minor'];






reply via email to

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