fix Undefined variable: options in Fake.php

This commit is contained in:
xyuanmu 2018-12-14 23:14:57 +08:00 committed by GitHub
parent 9f8491076f
commit 247aa9e043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ class Typecho_Widget_Helper_Form_Element_Fake extends Typecho_Widget_Helper_Form
$this->init();
/** 初始化表单项 */
$this->input = $this->input($name, $options);
$this->input = $this->input($name, $value);
/** 初始化表单值 */
if (NULL !== $value) {