Fixing style errors.
This commit is contained in:
parent
d3bdb72cc8
commit
7f1d0b9dc2
@ -1292,7 +1292,6 @@ if (!$error && $massaction == 'generate_doc' && $permissiontoread)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$error && ($action == 'affecttag' && $confirm == 'yes') && $permissiontoadd) {
|
if (!$error && ($action == 'affecttag' && $confirm == 'yes') && $permissiontoadd) {
|
||||||
|
|
||||||
$db->begin();
|
$db->begin();
|
||||||
|
|
||||||
$affecttag_type=GETPOST('affecttag_type', 'alpha');
|
$affecttag_type=GETPOST('affecttag_type', 'alpha');
|
||||||
@ -1323,14 +1322,12 @@ if (!$error && ($action == 'affecttag' && $confirm == 'yes') && $permissiontoadd
|
|||||||
$result = $object->fetch($toselectid);
|
$result = $object->fetch($toselectid);
|
||||||
//var_dump($contcats);exit;
|
//var_dump($contcats);exit;
|
||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
|
|
||||||
$result = $object->setCategoriesCommon($contcats, $categ_type, false);
|
$result = $object->setCategoriesCommon($contcats, $categ_type, false);
|
||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
$nbok++;
|
$nbok++;
|
||||||
} else {
|
} else {
|
||||||
setEventMessages($object->error, $object->errors, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
setEventMessages($object->error, $object->errors, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user