Fix: strict mode anarchy ;-)
check your variable please
This commit is contained in:
parent
071c405bad
commit
76cb6f760a
@ -79,7 +79,7 @@ if ($action == 'confirm_deletefile' && $confirm == 'yes')
|
|||||||
setEventMessage($langs->trans("ErrorFailedToDeleteLink", $link->label), 'errors');
|
setEventMessage($langs->trans("ErrorFailedToDeleteLink", $link->label), 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $object->id.($withproject?'&withproject=1':''));
|
header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $object->id.(!empty($withproject)?'&withproject=1':''));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user