News:

Looking for documentation? Take a look on our wiki

Main Menu

Edit user detail block in admin not saving

Started by seyi, May 18, 2021, 17:18:24 PM

Previous topic - Next topic

seyi

In 3.8.8, when editing a user in admin, the user detail block is not saving anymore, specifically
- Block user
- Receive system emails

Worked fine in 3.8.4.  In comparing the code, whitelisting for core removed the function, commenting this out:
<?php
        //if(!vmAccess::manager('core')){
            $whiteDataToBind = array();
            if(isset($data['name'])) $whiteDataToBind['name'] = $data['name'];
            if(isset($data['username'])) $whiteDataToBind['username'] = $data['username'];
            if(isset($data['email'])) $whiteDataToBind['email'] = $data['email'];
            if(isset($data['language'])) $whiteDataToBind['language'] = $data['language'];
            if(isset($data['editor'])) $whiteDataToBind['editor'] = $data['editor'];
            if(isset($data['password'])) $whiteDataToBind['password'] = $data['password'];
            if(isset($data['password2'])) $whiteDataToBind['password2'] = $data['password2'];
            unset($data['isRoot']);
       /* } else {
            $whiteDataToBind = $data;
        }*/
?>

Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate