Changeset 2702


Ignore:
Timestamp:
5/25/2012 4:34:12 AM (3 years ago)
Author:
lowjoel
Message:

Fix the return value of both the status and upload commands to be the same format. And also fixed the sprintf expression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/website/scripts/blackbox/upload.php

    r2695 r2702  
    109109        { 
    110110            printf('<?xml version="1.0"?> 
    111 <crashReport status="exists" id="%s" />', htmlspecialchars($status), $reportID); 
     111<crashReport status="exists" id="%d" />', $reportID); 
    112112            return; 
    113113        } 
     
    238238    header('Content-Type: application/xml'); 
    239239    printf('<?xml version="1.0"?> 
    240 <crashReport id="%d" />', $reportId); 
     240<crashReport status="exists" id="%d" />', $reportId); 
    241241} 
    242242 
Note: See TracChangeset for help on using the changeset viewer.