X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fcreate_coy.php;h=2730b7cfd130fdbde716f02e522fdb5740aef8b2;hb=278a0508be98a1698352e97e3e6a30afb5676833;hp=85579e0f92f1c37eae2ac47247911a492ed94bef;hpb=4def49c9e0be02ccdf814188c2a72ebd969a7a98;p=fa-stable.git diff --git a/admin/create_coy.php b/admin/create_coy.php index 85579e0f..2730b7cf 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -52,7 +52,7 @@ function handle_submit() $db_connections[$id]['dbname'] = $_POST['dbname']; if (isset($_GET['ul']) && $_GET['ul'] == 1) { - if ($_POST['tbpref'] == 1) + if (is_numeric($_POST['tbpref']) && $_POST['tbpref'] == 1) { $db_connections[$id]['tbpref'] = $tb_pref_counter."_"; $new = true;