Skip to content

Commit f4db08c

Browse files
committed
Update ezsqlModel.php
1 parent 8ee4c74 commit f4db08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ezsqlModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public function __construct()
251251
public function __call($function, $args)
252252
{
253253
$prefix = \substr($function, 0, 3);
254-
$property = \strtolower(\substr($function, 3, \strlen($function)));
254+
$property = \lcfirst(\substr($function, 3, \strlen($function)));
255255
// Todo: make properties PSR-1, add following for backward compatibility
256256
if (\strpos($property, '_') !== false)
257257
$property = \str_replace('_', '', $property);

0 commit comments

Comments
 (0)