Skip to content

Commit

Permalink
Merge pull request #22 from altairis-melina/fix_statut_ticket
Browse files Browse the repository at this point in the history
Fix: Statut ticket
  • Loading branch information
altairis-noe authored Dec 18, 2024
2 parents a6da3b1 + ce06c12 commit 900a91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ticket/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
// Action to add a message (private or not, with email or not).
// This may also send an email (concatenated with email_intro and email footer if checkbox was selected)
if ($action == 'add_message' && GETPOSTISSET('btn_add_message') && $permissiontoread) {
$ret = $object->newMessage($user, $action, (GETPOST('private_message', 'alpha') == "on" ? 1 : 0), 0);
$ret = $object->newMessage($user, $action, GETPOSTINT('private_message'), 0);

if ($ret > 0) {
if (!empty($backtopage)) {
Expand Down

0 comments on commit 900a91a

Please sign in to comment.