Skip to content

Commit 7d52c06

Browse files
authored
Update massedit.php
1 parent b194740 commit 7d52c06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

desktop/php/massedit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function scanDB($_table) {
5959
}
6060
foreach ($items as $item) {
6161
$sqlQuery = 'SELECT * FROM `' . $_table . '` WHERE `id` = ' . $item->getId();
62-
$result = DB::prepare($sqlQuery, array('db_name' => $CONFIG['db']['dbname']), DB::FETCH_TYPE_ALL);
62+
$result = DB::prepare($sqlQuery, array(), DB::FETCH_TYPE_ALL);
6363
foreach ($result[0] as $key => $value) {
6464
if ($value == '' || $value == '[]') continue;
6565
if (in_array($key, $excludeParams[$_table])) continue;
@@ -192,4 +192,4 @@ function scanDB($_table) {
192192
</div>
193193
</div>
194194

195-
<?php include_file('desktop', 'massedit', 'js'); ?>
195+
<?php include_file('desktop', 'massedit', 'js'); ?>

0 commit comments

Comments
 (0)