Skip to content

Commit

Permalink
short syntaxに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
clicktx committed Dec 20, 2024
1 parent ada874a commit 87b44ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/class/helper/SC_Helper_Purchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static function getOrderTemp($uniqId)
{
$objQuery = SC_Query_Ex::getSingletonInstance();

$result = $objQuery->getRow('*', 'dtb_order_temp', 'order_temp_id = ?', array($uniqId));
$result = $objQuery->getRow('*', 'dtb_order_temp', 'order_temp_id = ?', [$uniqId]);
return is_array($result) ? $result : []; // 必ず配列を返す
}

Expand Down

0 comments on commit 87b44ef

Please sign in to comment.