Ignore:
Timestamp:
12/16/07 16:27:42 (7 years ago)
Author:
jandark-guest
Message:

bugfix : check pkg name is uniq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-queue/developers/index.php

    r2586 r2674  
    99                $OBj->setDeveloper($_POST['devel']); 
    1010                $OBj->setDistro($_POST['distro']); 
    11                 $OBj->save(); 
    12                 echo "<center><h3>Package has been <span style='color:orange'>Saved</span>.</h3></center>"; 
     11                if($OBj->checkisuniq()) 
     12                { 
     13                        $OBj->save(); 
     14                        echo "<h2>Data has been <span style='color:orange'>Saved</span>.</h2"; 
     15                }else { 
     16                        echo "<h2>Error : This package was added before !</h2>" ; 
     17                } 
    1318        } 
    1419?> 
Note: See TracChangeset for help on using the changeset viewer.