Skip to content
Code-Schnipsel Gruppen Projekte
Commit d6d402aa erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'dev' of dev.quiqqer.com:quiqqer/invoice into dev

Übergeordnete 2cb6d668 bfb35636
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -916,8 +916,7 @@ public function addTransaction(Transaction $Transaction)
$date = time();
}
function isTxAlreadyAdded($txid, $paidData)
{
$isTxAlreadyAdded = function ($txid, $paidData) {
foreach ($paidData as $paidEntry) {
if (!isset($paidEntry['txid'])) {
continue;
......@@ -929,10 +928,10 @@ function isTxAlreadyAdded($txid, $paidData)
}
return false;
}
};
// already added
if (isTxAlreadyAdded($Transaction->getTxId(), $paidData)) {
if ($isTxAlreadyAdded($Transaction->getTxId(), $paidData)) {
return;
}
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren