friendica / red

The Red Matrix
MIT License
214 stars 50 forks source link

Bugfix und variable initialization. #934

Closed dawnbreak closed 9 years ago

dawnbreak commented 9 years ago

Fixed a wrong perm_is_allowed() parameter, commented some other places where we use variables that are not set and should not work.

dawnbreak commented 9 years ago

You are right. $parent_arr was correct, I just got confused. $parent_arr = array() is not required, but I learned in school it is cleaner. ;) I don't know how many times I have read over the function parameters, but I never spot the error there with the wrong written allow. Thanks! I updated my pull request.

ghost commented 9 years ago

This issue was moved to redmatrix/redmatrix#9