mapcentia / geocloud2

The GC2 framework helps you build a spatial data infrastructure quickly and easily. Powered using open source components for a scalable solution focused on freedom rather than fees.
https://www.osgeo.org/projects/gc2-vidi/
GNU Affero General Public License v3.0
148 stars 67 forks source link

Error when assigning role to sub-user for a layer with workflow management activated: #73

Closed gjsa73 closed 3 years ago

gjsa73 commented 5 years ago

Uncaught Error: Cannot use object of type stdClass as array in /var/www/geocloud2/app/models/Layer.php:751 Stack trace: #0 /var/www/geocloud2/app/controllers/Layer.php(137): app\models\Layer->updateRoles(Array) #1 /var/www/geocloud2/app/inc/Route.php(79): app\controllers\Layer->put_roles(Array) #2 /var/www/geocloud2/public/index.php(252): app\inc\Route::add('controllers/Lay...') #3 {main} thrown

mapcentia commented 3 years ago

Fixed