Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
15ab6eea39
16
db_qbe.php
16
db_qbe.php
@ -25,6 +25,22 @@ foreach ($post_params as $one_post_param) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets globals from $_POST patterns, for Or* variables
|
||||
* (additional criteria lines)
|
||||
*/
|
||||
|
||||
$post_patterns = array(
|
||||
'/^Or/i'
|
||||
);
|
||||
foreach (array_keys($_POST) as $post_key) {
|
||||
foreach ($post_patterns as $one_post_pattern) {
|
||||
if (preg_match($one_post_pattern, $post_key)) {
|
||||
$GLOBALS[$post_key] = $_POST[$post_key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the relation settings
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user