From: Jens Frank Date: Mon, 31 May 2004 07:56:44 +0000 (+0000) Subject: Use isset instead of defined. Fix BUG #963397 X-Git-Tag: 1.5.0alpha1~3121 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=dcb552e0f82154e8d85464ddd62fb07527d10457;p=lhc%2Fweb%2Fwiklou.git Use isset instead of defined. Fix BUG #963397 --- diff --git a/includes/Skin.php b/includes/Skin.php index fcee456081..a0ce7a8b1e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1908,7 +1908,7 @@ class Skin { function makeMediaLinkObj( $nt, $alt = "" ) { - if ( ! defined( $nt ) ) + if ( ! isset( $nt ) ) { ### HOTFIX. Instead of breaking, return empry string. $s = $alt;