[pLog-svn] r3091 - plog/trunk/class/data
mark at devel.lifetype.net
mark at devel.lifetype.net
Tue Mar 21 04:38:15 GMT 2006
Author: mark
Date: 2006-03-21 04:38:13 +0000 (Tue, 21 Mar 2006)
New Revision: 3091
Modified:
plog/trunk/class/data/kses.class.php
Log:
Fixed a notice in PHP5
Modified: plog/trunk/class/data/kses.class.php
===================================================================
--- plog/trunk/class/data/kses.class.php 2006-03-20 20:56:15 UTC (rev 3090)
+++ plog/trunk/class/data/kses.class.php 2006-03-21 04:38:13 UTC (rev 3091)
@@ -384,7 +384,11 @@
$attr2 = '';
foreach ($attrarr as $arreach)
{
- $current = $this->allowed_html[strtolower($element)][strtolower($arreach['name'])];
+ if ( isset($this->allowed_html[strtolower($element)][strtolower($arreach['name'])]) )
+ $current = $this->allowed_html[strtolower($element)][strtolower($arreach['name'])];
+ else
+ continue;
+
if( !$this->xhtmlConverterOnly ) {
if ($current == '')
{
More information about the pLog-svn
mailing list