Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update helloworld to load pages correctly in FreePBX 17 #5

Open
wants to merge 3 commits into
base: release/15.0
Choose a base branch
from

Conversation

andrew-lbc
Copy link

There were three files leading to errors after a fresh install of the helloworld module.

Gist of the update is fixing misspelling in XML file and adding issets where they were missing.

image
image
image

Fix spelling of licence to license in module.xml (otherwise error in /var/www/html/admin/libraries/BMO/GuiHooks.class.php line 250)
Added isset($_REQUEST['view']) to /var/www/html/admin/modules/helloworld/Helloworld.class.php line 279
Add isset to check for $id, $subject and $body as well as pull up </textarea> to stop adding default space
@andrew-lbc
Copy link
Author

As another note, either the notes aren't saving, or they aren't being loaded from the DB correctly. I didn't need to work off that functionality so I didn't continue debugging that issue. If I end up doing that I'll one day make another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant