Topic: Add_access_extensions() Function Call
Hi,
Is there any possibility to move the function call add_access_extensions() from index.php into the last line of includes/session.inc? Because I found a problem when I develop an extension that create an additional tab.
That new tab is appear when I click the other tab. So I'm on the URL like following:
index.php?application=stock
Because the add_access_extension is called in index.php
But when I click one menu, which point to the URL like following.
inventory/transfers.php?NewTransfer=1
My new tab is disappear and there is an error message saying undefined index SA_blablabla.
I found that was because the add_access_extension is not called in that page.
So I think we should move the add_access_extensions() function call to the includes/session.inc file which is called in every page. It could be a bug or me that was wrong, so I need the opinion from you guys about this.