Skip to content

Instantly share code, notes, and snippets.

@orthagh
Created November 6, 2015 13:20
Show Gist options
  • Save orthagh/0e655704f7652402aa4c to your computer and use it in GitHub Desktop.
Save orthagh/0e655704f7652402aa4c to your computer and use it in GitHub Desktop.
diff --git a/inc/ticket.class.php b/inc/ticket.class.php
index bc911c0..5a5e09e 100644
--- a/inc/ticket.class.php
+++ b/inc/ticket.class.php
@@ -201,7 +201,7 @@ class PluginBehaviorsTicket {
$msg = sprintf(__('%1$s (%2$s)'), __("Can't save, item have been updated", "behaviors"),
getUserName($ticket->fields['users_id_lastupdater']).', '.
- Html::convDateTime($config->fields['date_mod']));
+ Html::convDateTime($ticket->fields['date_mod']));
Session::addMessageAfterRedirect($msg, true, ERROR);
return $ticket->input = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment