From: Thomas Mudrunka Date: Sun, 2 Jun 2013 00:32:54 +0000 (+0200) Subject: Nyni nelze zadnymu modelu nastavit, ze nema seriaky X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=2f7961270e722754ae6aff23da2251c98b711e8b;p=mirrors%2FSokoMan.git Nyni nelze zadnymu modelu nastavit, ze nema seriaky --- diff --git a/index.php b/index.php index f03be33..ad309f0 100755 --- a/index.php +++ b/index.php @@ -780,7 +780,7 @@ class Sklad_DB extends PDO { function columns_get_selectbox($columns, $class=false, $suffix_id='_id', $suffix_name='_name') { $selectbox=array( //TODO: Hardcoded... - 'model_countable' => array(0 => 'no', 1 => 'yes'), + 'model_countable' => array(1 => 'yes'), 'model_eshop_hide' => array(0 => 'no', 1 => 'yes'), 'vendor_id' => array('COMPULSORY' => 'select...') );