Fixed user ID column in doc index

This commit is contained in:
Karl Cordes 2016-05-17 23:52:20 +10:00
parent 30d1eae9d1
commit 2ec76f0a39

View file

@ -29,7 +29,7 @@
<?php
$pdf_user_id = $document['Document']['user_id'];
echo $html->link($users[$pdf_user_id], '/users/view/'.$pdf_user_id);
<?php //echo $html->link($document['User']['username'], array('controller' => 'users', 'action' => 'view', $document['User']['id'])); ?>
?>
</td>
<td>
@ -48,7 +48,7 @@
<?php
$pdf_created_at = $document['Document']['pdf_created_at'];
if($pdf_created_at != '0000-00-00 00:00:00') {
echo $time->nice($document['Document']['pdf_created_at']);
echo $time->nice($document['Document']['pdf_created_at']);
}
?>
</td>