Update card-rec.php
This commit is contained in:
parent
523b189017
commit
9f5d0dbb6b
@ -104,13 +104,13 @@ $arrayfields = array(
|
||||
|
||||
// Create predefined intervention
|
||||
if ($action == 'add') {
|
||||
if (!GETPOSTISSET('titre')) {
|
||||
if (!GETPOST('titre')) {
|
||||
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->trans("Title")), null, 'errors');
|
||||
$action = "create";
|
||||
$error++;
|
||||
}
|
||||
|
||||
if (!GETPOSTISSET('socid')) {
|
||||
if (!GETPOST('socid')) {
|
||||
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->trans("Customer")), null, 'errors');
|
||||
$action = "create";
|
||||
$error++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user