mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-26 07:44:02 +01:00
Fix add serial
This commit is contained in:
parent
e18c2e2da6
commit
f527f7cfe9
@ -101,7 +101,7 @@ echo '
|
||||
<input type="hidden" name="dir" value="'.$dir.'">';
|
||||
|
||||
$info = $dbo->fetchArray('SELECT * FROM mg_prodotti WHERE serial IS NOT NULL AND '.$riga.'='.prepare($idriga));
|
||||
$serials = array_column($info, 'serial');
|
||||
$serials = $info ? array_column($info, 'serial') : [];
|
||||
|
||||
if ($dir == 'entrata') {
|
||||
echo '
|
||||
|
Loading…
Reference in New Issue
Block a user