Commit 7b0a9f0c authored by alvinBM's avatar alvinBM Committed by Adrien Mbuya Maloba
Browse files

[FIX] hide the feedback block when there are no alert messages in tiki-list_object_permissions

parent 63bc84e4
Pipeline #647179426 canceled with stages
......@@ -255,7 +255,7 @@ foreach ($types as $type) {
break;
}
}
Feedback::note(['mes' => $feedbacks]);
if(count($feedbacks) > 0) Feedback::note(['mes' => $feedbacks]);
  • Hi @alvinBM, for next time, we like braces around even single if statements and a space after the if (no need to fix this one, just in general - don't blame you, i can't find the page on dev now! ;)

Please register or sign in to reply
$smarty->assign_by_ref('res', $res);
$smarty->assign_by_ref('filterGroup', $filterGroup);
$smarty->assign_by_ref('all_groups', $all_groups);
......
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