Make scrut happy

This commit is contained in:
f0o
2015-05-07 20:05:47 +00:00
parent 740e85a1ba
commit 6ab9b9727e
+3 -1
View File
@@ -69,8 +69,10 @@ function GenSQL($rule) {
//Cannot resolve glue-chain. Rule is invalid.
return false;
}
$last = "";
$qry = "";
foreach( $gtmp as $glue ) {
if( !$last ) {
if( empty($last) ) {
list($tmp,$last) = explode('.',$glue);
$qry .= $glue.' = ';
} else {