dioscouri / f3-admin

3 stars 1 forks source link

all admin mennus are by default open #36

Closed polakluk closed 10 years ago

rdiaztushman commented 10 years ago

i'm not experiencing this...?

rdiaztushman commented 10 years ago

screenshot?

polakluk commented 10 years ago

log out and log in to admin: dev.amritasingh.com/admin menu

rdiaztushman commented 10 years ago

whoah, wtf. when did this happen?

polakluk commented 10 years ago

now, when I found bug in your code (uninitialized variable). It should be short fix after I'm done with class in 40mins

rdiaztushman commented 10 years ago

wait, no, this only happens on the admin-side homepage (where route == /admin) because of this:

strpos($item->route, $PARAMS[0]) !== false

because all admin-side routes start with /admin....

need to do something a little more elegant than just a strpos