|
@@ -213,7 +213,7 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) {
|
|
// }
|
|
// }
|
|
|
|
|
|
if ( $form_id == "simplenews_subscriptions_multi_block_form"){
|
|
if ( $form_id == "simplenews_subscriptions_multi_block_form"){
|
|
- dsm($form);
|
|
|
|
|
|
+ // dsm($form);
|
|
$options = array();
|
|
$options = array();
|
|
foreach ($form['newsletters']['#options'] as $tid => $name) {
|
|
foreach ($form['newsletters']['#options'] as $tid => $name) {
|
|
if(user_access("subscribe to simplenews category $tid")){
|
|
if(user_access("subscribe to simplenews category $tid")){
|