From 74bad3189cf8508f394b209d30b4987bfbf974b0 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 30 Jan 2005 21:51:04 +0000 Subject: [PATCH] one more id warning prevention git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4489 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/CachedMarkup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CachedMarkup.php b/lib/CachedMarkup.php index fbc3a24f3..8b9bf7f8e 100644 --- a/lib/CachedMarkup.php +++ b/lib/CachedMarkup.php @@ -1,5 +1,5 @@ * Copyright (C) 2004, 2005 $ThePhpWikiProgrammingTeam * @@ -506,7 +506,7 @@ class Cached_PluginInvocation extends Cached_DynamicContent { $div->setInClass('top', ($this->_tightenable & 1) != 0); $div->setInClass('bottom', ($this->_tightenable & 2) != 0); } - if ($id) + if (!empty($id)) $div->setAttr('id', $id); $div->pushContent($xml); return $div; -- 2.45.0