Fixed user ID column in doc index
This commit is contained in:
parent
30d1eae9d1
commit
2ec76f0a39
|
|
@ -29,7 +29,7 @@
|
||||||
<?php
|
<?php
|
||||||
$pdf_user_id = $document['Document']['user_id'];
|
$pdf_user_id = $document['Document']['user_id'];
|
||||||
echo $html->link($users[$pdf_user_id], '/users/view/'.$pdf_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>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
<?php
|
<?php
|
||||||
$pdf_created_at = $document['Document']['pdf_created_at'];
|
$pdf_created_at = $document['Document']['pdf_created_at'];
|
||||||
if($pdf_created_at != '0000-00-00 00:00:00') {
|
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>
|
</td>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue