typo
This commit is contained in:
parent
9e7225c9fb
commit
b653668557
2 changed files with 3 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ for ($i=0; $i<count($var); $i++)
|
|||
throw new Exception($name." is not set");
|
||||
}
|
||||
$ctl='ok';
|
||||
extract($_GET,, EXTR_SKIP);
|
||||
extract($_GET, EXTR_SKIP);
|
||||
//----------------------------------------------------------------------
|
||||
// Modification
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -390,14 +390,14 @@ if ( $sa == 'remove' && isNumber($dossier_id) == 1 && $dossier_id != -1 )
|
|||
/**
|
||||
* Check if db exists
|
||||
*/
|
||||
$str_name=domaine.'dossier'.$dossier_id;
|
||||
$str_name=sql_string(domaine.'dossier'.$dossier_id);
|
||||
|
||||
$database_exist=$cn->exist_database($str_name);
|
||||
|
||||
// if db exists for postgres then drop it
|
||||
if ( $database_exist == 1)
|
||||
{
|
||||
$sql="drop database ".domaine."dossier".sql_string($_REQUEST['d']);
|
||||
$sql="drop database ".$str_name;
|
||||
ob_start();
|
||||
if ( $cn->exec_sql($sql)==false)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue