Проблема с Else

Issue #45 new
sidxx55 created an issue

Выход

    if ($this->read_hidden) {
                        $section_name = substr($match[1], 1);
                    }
                    else {
                        unset($vars);
                        $vars = array();
                        continue;
                        $section_name = $match[1];
                    }
                }
                else {
                    continue;
                    $section_name = $match[1];
                }

Димин выход

    if (substr($match[1], 0, 1) == '.') {
                    if ($this->read_hidden) {
                        $section_name = substr($match[1], 1);
                    } else {
                        unset(${$vars});
                        $vars = array();
                        continue;
                    }
                } else {
                    $section_name = $match[1];
                }

Comments (0)

  1. Log in to comment