| @@ -108,9 +108,9 @@ | ||
| 108 | 108 | // Get method name from action name. |
| 109 | 109 | $method = ucfirst(str_replace('_', ' ', $method)); |
| 110 | 110 | $method = str_replace(' ', '', $method); |
| 111 | 111 | // Lower case the first character. |
| 112 | - $method = strtolower($method{0}) . substr($method, 1); | |
| 112 | + $method = strtolower($method[0]) . substr($method, 1); | |
| 113 | 113 | // Cahe method name for child classes to use! |
| 114 | 114 | $this->methodName = $method; |
| 115 | 115 | // Relying on the trailer "Action" for security. |
| 116 | 116 | // Derivded class should not never use trailer "Action" |