Use the sql row object to get the submitted time, instead of an object that

doesn't exist.
This commit is contained in:
Chris Morgan
2005-06-25 01:22:09 +00:00
committed by WineHQ
parent 0f13fb4a38
commit adf0dc83ab

View File

@@ -62,7 +62,7 @@ if (!$_REQUEST['id'])
{
if ($c % 2 == 1) { $bgcolor = 'color0'; } else { $bgcolor = 'color1'; }
echo "<tr class=\"$bgcolor\">\n";
echo "<td>".print_date(mysqltimestamp_to_unixtimestamp($oApp->sSubmitTime))."</td>\n";
echo "<td>".print_date(mysqltimestamp_to_unixtimestamp($ob->submitTime))."</td>\n";
$oUser = new User($ob->submitterId);
echo "<td>";
echo $oUser->sEmail ? "<a href=\"mailto:".$oUser->sEmail."\">":"";