I have a query about line
|
if ($vn_index > sizeof($va_media_list) - 1) { $vn_index = sizeof($va_media_list) - 1; } |
and if it would be better to simply
continue if trying to return a site page media index that is greater than available (not load any image). I believe this would be a better fail case than repeating the last image multiple times on a page.
Thoughts?
I have a query about line
pawtucket2/app/models/ca_site_pages.php
Line 389 in 0d6f5f9
and if it would be better to simply
continueif trying to return a site page media index that is greater than available (not load any image). I believe this would be a better fail case than repeating the last image multiple times on a page.Thoughts?