Commit a9d002a3 authored by Eric Bremner's avatar Eric Bremner
Browse files

RT#427026: Fixed issue with not having ==.

parent 097f6444
......@@ -25,7 +25,7 @@ function uw_ct_opportunities_block_info() {
* Add in validation
*/
function uw_ct_opportunities_form_alter(&$form, &$form_state, $form_id) {
if($form_id = 'uw_opportunities_node_form') {
if($form_id == 'uw_opportunities_node_form') {
$form['actions']['submit']['#validate'][] = 'uw_ct_opportunities_validation';
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment