2
0
forked from Wavyzz/dolibarr

add new rule

This commit is contained in:
Frédéric FRANCE
2020-05-21 15:05:19 +02:00
parent b58060f899
commit b41ac00b98
961 changed files with 9487 additions and 19110 deletions

View File

@@ -50,8 +50,7 @@ if ($result)
$obj = $db->fetch_object($result);
preg_match('/([0-9]+)$/i', $obj->name, $reg);
if ($reg[1]) $lastftpentry = $reg[1];
}
else {
} else {
dol_print_error($db);
}
@@ -95,8 +94,7 @@ if ($action == 'add' || GETPOST('modify', 'alpha'))
$db->commit();
header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
else {
} else {
$db->rollback();
dol_print_error($db);
}
@@ -121,8 +119,7 @@ if (GETPOST('delete', 'alpha'))
$db->commit();
header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
else {
} else {
$db->rollback();
dol_print_error($db);
}
@@ -145,8 +142,7 @@ print '<br>';
if (!function_exists('ftp_connect'))
{
print $langs->trans("FTPFeatureNotSupportedByYourPHP");
}
else {
} else {
// Formulaire ajout
print '<form name="ftpconfig" action="ftpclient.php" method="post">';
print '<input type="hidden" name="token" value="'.newToken().'">';
@@ -296,8 +292,7 @@ else {
$i++;
}
}
else {
} else {
dol_print_error($db);
}
}