mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
Slightly better logic for processing ? parameters.
This commit is contained in:
parent
3072947a68
commit
0ed1213ab8
@ -293,9 +293,9 @@ class AwlDBDialect {
|
||||
for( $i = 0; $i < $argc; $i++ ) {
|
||||
$arg = $args[$i];
|
||||
$querystring .= $this->Quote($arg); //parameter
|
||||
$querystring .= $parts[$i+1]; //extras eg. ","
|
||||
$z = $i+1;
|
||||
if ( isset($parts[$z]) ) $querystring .= $parts[$z];
|
||||
}
|
||||
if ( isset($parts[$z]) ) $querystring .= $parts[$z]; //puts last part on the end
|
||||
|
||||
return $querystring;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user