summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/additem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/additem.php b/admin/additem.php
index 1afa2ce..b9cb67f 100644
--- a/admin/additem.php
+++ b/admin/additem.php
@@ -405,7 +405,7 @@ class Add_Item extends EQdkp_Admin
}
$db->free_result($result);
- foreach($buyer_source as $buyer_name) {
+ if ($buyer_source) foreach($buyer_source as $buyer_name) {
$tpl->assign_block_vars('buyers_row', array(
'VALUE' => $buyer_name,
'OPTION' => $buyer_name)