Merge pull request #8339 from frederic34/patch-4

Update ticketsup linkedobjectblock.tpl.php
This commit is contained in:
Laurent Destailleur 2018-03-11 18:06:40 +01:00 committed by GitHub
commit d0598a767c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1 @@

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 -->