Commit b8a9c605 authored by Christian Wach's avatar Christian Wach

Not admin dammit!

parent 075fadff
......@@ -146,8 +146,8 @@ function csshelper_civicrm_preProcess($formName, &$form) {
*/
function csshelper_deregister_civicrm_default_styles() {
// Bail if not front-end.
if ( ! is_admin() ) return;
// Bail if admin.
if ( is_admin() ) return;
// Bail if CAU has disabled public CSS.
if ( csshelper_cau_has_disabled_css() ) return;
......
Markdown is supported
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