To reproduce:
- Allocate a studentID to the current user
- Go to Portfolio -> Pages -> Create Page
- Put some content on the page
- Select a 'Name display format' of 'ID Number'
- Save the page
- Click on the 'Display page' button
Expected results:
- The page will be displayed, showing the student ID as the auther
Actual results:
- The page is displayed, but it doesn't show the Student id
- If $cfg->productionmode = false; a php error is shown on the screen
To reproduce:
- Allocate a studentID to the current user
- Go to Portfolio -> Pages -> Create Page
- Put some content on the page
- Select a 'Name display format' of 'ID Number'
- Save the page
- Click on the 'Display page' button
Expected results:
- The page will be displayed, showing the student ID as the auther
Actual results: nmode = false; a php error is shown on the screen
- The page is displayed, but it doesn't show the Student id
- If $cfg->productio