![]() |
|
|
|||||||
| Register | FAQ | Top Posters | Members List | Calendar | Search | Today's Posts | Resend Activation Email | Mark Forums Read |
| dotProject Documentation | dotProject FAQ | Bugs & Feature Requests | Language Packs & Themes | Download dotProject |
| Latest Development Snapshot Forum to be used for discussing any issues or questions to do with the latest CVS snapshot. Will obviously cover multiple iterations of this snapshot but should serve as a central location to look for all issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
Will this work on dp 2.0 and up?
|
|
#12
|
|||
|
|||
|
I wanted a user default view to remain set to their company, but users in my company (the first company in the database) would default to all.
I am running version 2.1.3. In /modules/companies/index.php on line 26 I changed to: PHP Code:
PHP Code:
|
|
#13
|
|||
|
|||
|
Won't this:
PHP Code:
|
|
#14
|
|||
|
|||
|
It does always result true. It doesn't destroy the original code. In case you ever want to do something different, you still have the context to figure out how to achieve other permissions...or to fix it should you ever update the code and overwrite your changes.
If you don't care about that, you could easily remove the entire if statement and replace it with: PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|