diff --git a/airtime_mvc/application/forms/SoundcloudPreferences.php b/airtime_mvc/application/forms/SoundcloudPreferences.php index 8fe460c15..e948ba4f4 100644 --- a/airtime_mvc/application/forms/SoundcloudPreferences.php +++ b/airtime_mvc/application/forms/SoundcloudPreferences.php @@ -1,5 +1,6 @@ false, 'validators' => array( - new ConditionalNotEmpty(array('UploadToSoundcloudOption'=>'1')) + new PasswordNotEmpty(array('UploadToSoundcloudOption'=>'1')) ) )); diff --git a/airtime_mvc/application/forms/customvalidators/PasswordNotEmpty.php b/airtime_mvc/application/forms/customvalidators/PasswordNotEmpty.php new file mode 100644 index 000000000..11e62b933 --- /dev/null +++ b/airtime_mvc/application/forms/customvalidators/PasswordNotEmpty.php @@ -0,0 +1,18 @@ +