fix: don't use {}
for string access
This commit is contained in:
parent
fbd561638f
commit
9a571832f5
4 changed files with 6 additions and 6 deletions
includes/form
|
@ -105,8 +105,8 @@ class View_Form
|
|||
$prefix = $name . '-';
|
||||
|
||||
$action = $this->form->action( );
|
||||
if ( $action{0} != '?' ) {
|
||||
if ( $action{0} != '/' ) {
|
||||
if ( $action[0] != '?' ) {
|
||||
if ( $action[0] != '/' ) {
|
||||
$action = "/$action";
|
||||
}
|
||||
$action = $this->base . $action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue