From 93d134fa30bfcecb1f0b310b18e9906b924bb18b Mon Sep 17 00:00:00 2001 From: 2no Date: Thu, 27 Mar 2014 18:53:44 +0900 Subject: [PATCH] fix 'Notice: Undefined index' --- classes/fieldset/field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/fieldset/field.php b/classes/fieldset/field.php index 3c35601..1cc6974 100644 --- a/classes/fieldset/field.php +++ b/classes/fieldset/field.php @@ -127,7 +127,7 @@ public function value_text() { case 'radio': case 'checkbox': case 'select': - $value = $this->options[$this->value]; + $value = \Arr::get($this->options, '' . $value); break; }