SiT! Bugs - SiT!
View Issue Details
0000678SiT!incidentspublic2009-05-01 13:402009-08-16 14:40
Bonkie 
kieran 
normalminorhave not tried
closedfixed 
 
3.503.50 
0000678: Bug: customer add incident fails
SQL error occurs when a customer adds a incident from thier login.
Bug fixed with the following code:

Starts at line 140:

//need to call directly as we don't have functions yet
$sql = "SELECT COUNT(*) AS count FROM `{$dbTempIncoming}`";
$result = mysql_query($sql);

if($result)
{
    list($inbox_count) = mysql_fetch_row($result);
    if ($inbox_count > 0)
    {
        $inbox_count = " (".$inbox_count.")";
    }
}
The attached file is based on v3.50 svn5217
No tags attached.
? strings.inc.php (26,817) 2009-05-01 13:40
http://bugs.sitracker.org/file_download.php?file_id=27&type=bug
Issue History
2009-05-01 13:40BonkieNew Issue
2009-05-01 13:40BonkieFile Added: strings.inc.php
2009-05-05 19:20paulhNote Added: 0001019
2009-05-05 19:20paulhStatusnew => feedback
2009-06-13 11:02kieranNote Added: 0001203
2009-06-13 11:02kieranStatusfeedback => resolved
2009-06-13 11:02kieranFixed in Version => Current SVN
2009-06-13 11:02kieranResolutionopen => fixed
2009-06-13 11:02kieranAssigned To => kieran
2009-08-15 21:31ivanTarget Version => 3.50
2009-08-16 13:15ivanFixed in VersionCurrent SVN => 3.50
2009-08-16 14:40ivanNote Added: 0001736
2009-08-16 14:40ivanStatusresolved => closed

Notes
(0001019)
paulh   
2009-05-05 19:20   
trunk r5359 should resolved this by not including htmlheander in the portal (only include portalheader), could you possible test
(0001203)
kieran   
2009-06-13 11:02   
Code was in htmlheader as paul says which shouldn't have been in the portal; marking as closed now the code isn't included.
(0001736)
ivan   
2009-08-16 14:40   
Released in 3.50rc1