Skip to content

Commit

Permalink
Merge pull request #18 from lplancke/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
chris94440 authored Apr 2, 2024
2 parents 2f01211 + ae6e883 commit 938027a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions 3rdparty/imaProtectNewAPI.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,11 @@ public function getTokens() {

private function retrieveIMATokens($result) {
$array = array();
preg_match( '/Alarm-status ref="myAlarm" data-token="([^"]*)"/i', $result, $array ) ;
$alarmToken=$array[1];
preg_match( '/alarm-status token="([^"]*)"/i', $result, $array ) ;
$this->statusToken=$array[1];

$array = array();
preg_match( '/Capture-list ref="myCapture" data-token="([^"]*)"/i', $result, $array ) ;
preg_match( '/capture-list token="([^"]*)"/i', $result, $array ) ;
$this->captureToken=$array[1];
}

Expand Down Expand Up @@ -666,4 +665,4 @@ private function guidv4() {

}

?>
?>
7 changes: 3 additions & 4 deletions docs/fr_FR/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
>**IMPORTANT**
>
>Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.
# 31/05/2023
- merge branche Beta sur Master

# 02/04/2024
- correction récupération token ima protect (suite changement IMA)

# 24/05/2023
- correction anomalie affichage images / icons évènements dans l'historique des évènements
- correction anomalie notification et récupération des évènements en erreur (appel IMA)
Expand Down

0 comments on commit 938027a

Please sign in to comment.