Skip to content

Commit 3202d8a

Browse files
committed
chore: debug info
Signed-off-by: [email protected] <[email protected]>
1 parent 9be7031 commit 3202d8a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/Models/Foundation/Summit/Registration/PromoCodes/SummitRegistrationPromoCode.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,12 @@ public function getMaxUsagePerOrder():int{
835835
*/
836836
public function isAllowsToReassignRelatedTickets(): bool
837837
{
838-
return $this->allows_reassign_related_tickets;
838+
$res = $this->allows_reassign_related_tickets;
839+
if(is_null($res)){
840+
Log::warning(sprintf("SummitRegistrationPromoCode::isAllowsToReassignRelatedTickets promo code %s allows_reassign_related_tickets is null", $this->id));
841+
$res = true;
842+
}
843+
return $res;
839844
}
840845

841846
/**

0 commit comments

Comments
 (0)