1
0
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:
MatteoPistorello 2024-01-23 15:17:06 +01:00
parent e18c2e2da6
commit f527f7cfe9

View File

@ -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 '