I have a piece of code that I want to have the default value be a variable, but I need to know how to set a default value if the variable is not set:
$form['background_audio_height'] = array(
'#type' => 'textfield',
'#title' => t('Subject'),
'#default_value' => variable_get('background_audio_upload_path'),
'#size' => 5,
'#maxlength' => 3,
'#required' => TRUE,
);
How can I set a default value if background_audio_upload_path is not set?