We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26bc74 commit fe8318eCopy full SHA for fe8318e
src/PHPFUI/ORM/Table.php
@@ -301,8 +301,8 @@ public static function capitalSplit(string $key) : string
301
302
public function cleanField(string $fieldName) : string
303
{
304
- // Remove invalid characters (replace with underscore)
305
- $sanitized = \preg_replace('/[^a-zA-Z0-9_$]/', '', $fieldName);
+ // Remove invalid characters (replace with space) but allow . for fully specified fields
+ $sanitized = \preg_replace('/[^a-zA-Z0-9_$.]/', '', $fieldName);
306
307
// Remove leading/trailing underscores
308
$sanitized = \trim($sanitized, '_');
0 commit comments