mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 05:37:39 +02:00
DibiFluent: clause() argument can be in upper-case
This commit is contained in:
@@ -449,7 +449,7 @@ class DibiFluent extends DibiObject implements IDataSource
|
|||||||
$s .= 'By';
|
$s .= 'By';
|
||||||
trigger_error("Did you mean '$s'?", E_USER_NOTICE);
|
trigger_error("Did you mean '$s'?", E_USER_NOTICE);
|
||||||
}
|
}
|
||||||
return strtoupper(preg_replace('#[A-Z]#', ' $0', $s));
|
return strtoupper(preg_replace('#[a-z](?=[A-Z])#', '$0 ', $s));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user