Add support for groups

This commit is contained in:
Patrick Valsecchi
2017-12-19 09:31:07 +01:00
parent bfa9e7da74
commit 3a21b2ddaf
4 changed files with 30 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ if(isset($_POST['appname']) && ($_POST['appname'] === 'user_sql') && isset($_POS
$columns = array();
foreach($params as $param)
{
if(strpos($param, 'col_') === 0)
if(strpos($param, 'col_') === 0 && strpos($param, 'col_group_') !== 0)
{
if(isset($_POST[$param]) && $_POST[$param] !== '')
$columns[] = $_POST[$param];