Commit add0e739 authored by Romain Benit's avatar Romain Benit 🥇
Browse files

Modification du fichier pour ajouter dans la condition if de DATA_LUE la condition d'erreur

parent 930e2c73
......@@ -62,7 +62,7 @@
</div>
<?php
}
elseif ($msg->payload != '#DATA_LUE#') {
elseif ($msg->payload != '#DATA_LUE#'OR $msg->err) {
// Envoi des messages dans Kafka
$topic_p->produce(RD_KAFKA_PARTITION_UA, 0, "#DATA_LUE#");
echo "Ajout de DATA_LUE";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment