We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a209e83 commit 5bb4390Copy full SHA for 5bb4390
1 file changed
update/2_9_7.php
@@ -7,7 +7,7 @@
7
$id_module = Module::where('name', 'Marche')->first()->id;
8
9
if (!empty($id_module)) {
10
- $marche = $database->fetchArray('SELECT `id`, `immagine` FROM `zz_marche` WHERE `immagine` IS NOT NULL');
+ $marche = $database->fetchArray('SELECT `id`, `immagine` FROM `zz_marche` WHERE `immagine` IS NOT NULL AND `immagine` != ""');
11
12
foreach ($marche as $marca) {
13
$file_exists = $database->selectOne('zz_files', ['id'], [
0 commit comments