Update linkedobjectblock.tpl.php

This commit is contained in:
Frédéric FRANCE 2018-03-11 11:43:12 +01:00 committed by GitHub
parent 0ac1d8b226
commit 26dbd4f3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Protection to avoid direct call of template
if (empty($conf) || ! is_object($conf))
{
print "Error, template page can't be called as URL";
exit;
}
?>
<!-- BEGIN PHP TEMPLATE -->
@ -55,4 +61,4 @@ foreach ($linkedObjectBlock as $object) {
<?php } ?>
</table>
<!-- END PHP TEMPLATE -->
<!-- END PHP TEMPLATE -->