SiT! Bugs - SiT!
View Issue Details
0000762SiT!incidentspublic2009-07-08 10:302009-08-16 14:38
Bonkie 
Bonkie 
normalblockhave not tried
closedfixed 
Apple iMacMac OSX 10.5
 
3.503.50 
0000762: Customer cannot use 'Add incident'
When logged in to the Customer Panel the client cannot add a incident from the top menu.

The contract ID is missing.

File: /inc/portalheader.inc.php
Line: 151
Fix:

Replace this
$contractid = $_SESSION['entitlement'][0]->id;

Replace to:
$contractid = unserialize($_SESSION['entitlement'][0])->id;

Full and correct file included
No tags attached.
? portalheader.inc.php (6,951) 2009-07-08 10:30
http://bugs.sitracker.org/file_download.php?file_id=48&type=bug
Issue History
2009-07-08 10:30BonkieNew Issue
2009-07-08 10:30BonkieFile Added: portalheader.inc.php
2009-07-08 11:38ivanNote Added: 0001265
2009-07-08 12:06BonkieNote Added: 0001266
2009-07-11 15:10ivanNote Added: 0001292
2009-07-11 15:10ivanAssigned To => Bonkie
2009-07-11 15:10ivanStatusnew => resolved
2009-07-11 15:10ivanResolutionopen => fixed
2009-07-11 15:10ivanFixed in Version => Current SVN
2009-07-11 15:10ivanTarget Version => 3.50
2009-08-16 13:16ivanFixed in VersionCurrent SVN => 3.50
2009-08-16 14:38ivanNote Added: 0001628
2009-08-16 14:38ivanStatusresolved => closed

Notes
(0001265)
ivan   
2009-07-08 11:38   
Thanks for these two patches Bonkie, I'll apply them when I find time (if there is any spare time this week, mad busy unfortunately)

Would you like SVN commit access to make some of these changes yourself? Might be easier for you.
(0001266)
Bonkie   
2009-07-08 12:06   
No thanks.

Yes I would like to have access to the SVN to commit changes.
(0001292)
ivan   
2009-07-11 15:10   
Fixed by svn r5496
(0001628)
ivan   
2009-08-16 14:38   
Released in 3.50rc1