Avatar

admin edit not possible? (Bugs)

by Micha ⌂, Saturday, June 08, 2019, 07:47 (1782 days ago) @ Nico Hoffmann

Hi,

this, is not the original source, because there is an error

if (isset($_POST['tags']) && isset($_SESSION[$settings['session_prefix'] . 'user_type']) && ($_SESSION[$settings['session_prefix'] . 'user_type'] = 0)) {
--------------------------------------------------------------------------------------------------------------------------------------------------^

Now, I have both: admin edit AND tags for simple users :-)

In your case, the simple modification

if (isset($_POST['tags'])) {

is needed.

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread