From 877373642b983a71d09dc97f61021a1271096607 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 18 Oct 2006 09:09:18 +0000 Subject: [PATCH] =?UTF-8?q?convert=C2=A0custom=C2=A0from=C2=A0to=C2=A00?= =?UTF-8?q?=C2=A0or=C2=A01,=C2=A0it's=C2=A0unset=C2=A0if=C2=A0not=C2=A0che?= =?UTF-8?q?cked,=C2=A0which=C2=A0starts=C2=A0the=C2=A0detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infolog/inc/class.uiinfolog.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index 366ea8a971..2bb09da6ed 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -580,6 +580,9 @@ class uiinfolog $referer = $content['referer']; $no_popup = $content['no_popup']; $caller = $content['caller']; + + // convert custom from to 0 or 1, it's unset if not checked, which starts the detection + $content['info_custom_from'] = (int)$content['info_custom_from']; list($button) = @each($content['button']); unset($content['button']);