Skip to content

Hangman: incorrect class name #1

Merged
merged 1 commit into from Jan 14, 2013
+1 −1
View
2 lib/Hangman.php
@@ -5,7 +5,7 @@ function init(){
if(!$_GET[$this->name]){
$this->add('H3')->set('Select Difficulty');
$f=$this->add('Form');
- $f->addField('radio','difficulty')->setValueList(array(10=>'Easy',5=>'Medium',3=>'Hard'));
+ $f->addField('Radio','difficulty')->setValueList(array(10=>'Easy',5=>'Medium',3=>'Hard'));
$f->addSubmit('Start Game');
if($f->isSubmitted()){
$this->memorize('word','back');
Something went wrong with that request. Please try again.