Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1662 from dedyksuntoro/patch-6
Browse files Browse the repository at this point in the history
Fix: Call to undefined function str_limit()
  • Loading branch information
fherryfherry committed Mar 31, 2021
2 parents 460be2e + 043c58d commit 589f6e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/default/type_components/datamodal/browser.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
if ($ext && in_array($ext, $img_extension)) {
echo "<td><a href='".asset($row->$col)."' data-lightbox='roadtrip'><img src='".asset($row->$col)."' width='50px' height='30px'/></a></td>";
} else {
echo "<td>".str_limit(strip_tags($row->$col), 50)."</td>";
echo "<td>".Str::of(strip_tags($row->$col))->limit(50)."</td>";
}
@endphp
@endforeach
Expand All @@ -67,4 +67,4 @@ class='fa fa-check-circle'></i> {{cbLang('datamodal_select')}}</a></td>
@endforeach
</tbody>
</table>
<div align="center">{!! str_replace("/?","?",$result->appends(Request::all())->render()) !!}</div>
<div align="center">{!! str_replace("/?","?",$result->appends(Request::all())->render()) !!}</div>

0 comments on commit 589f6e5

Please sign in to comment.