projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
User side price/qty input formatting via onblur handler.
[fa-stable.git]
/
admin
/
create_coy.php
diff --git
a/admin/create_coy.php
b/admin/create_coy.php
index 85579e0f92f1c37eae2ac47247911a492ed94bef..2730b7cfd130fdbde716f02e522fdb5740aef8b2 100644
(file)
--- 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)
{
$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;
{
$db_connections[$id]['tbpref'] = $tb_pref_counter."_";
$new = true;