Index: pi1/class.tx_mmforum_postfunctions.php
===================================================================
--- pi1/class.tx_mmforum_postfunctions.php	(Revision 35849)
+++ pi1/class.tx_mmforum_postfunctions.php	(Arbeitskopie)
@@ -1222,39 +1222,41 @@
 		$profile = '';
 
 		foreach($this->conf['list_posts.']['userbuttons.'] as $key=>$obj) {
-			if($this->conf['list_posts.']['userbuttons.'][$key.'.'] && $obj=='MMFORUM_BUTTON') {
-				$buttonConf = $this->conf['list_posts.']['userbuttons.'][$key.'.'];
-
-				if($buttonConf['if.'] && !$this->cObj->checkIf($buttonConf['if.'])) continue;
-
-				if($buttonConf['label.']) {
-					$label = $this->cObj->cObjGetSingle('TEXT',$buttonConf['label.']);
-				}
-
-				if($buttonConf['link.']) {
-					$link = $this->cObj->cObjGetSingle('TEXT',$buttonConf['link.']);
-				}
-
-				if($buttonConf['special']) {
-					switch($buttonConf['special']) {
-						case 'www':
-							$res = @parse_url($link);
-							if(count($res)==0 || strlen(trim($link))==0) continue 2;
-						break;
+			if($this->conf['list_posts.']['userbuttons.'][$key.'.'] && is_string($obj)) {
+				if($obj=='MMFORUM_BUTTON') {
+					$buttonConf = $this->conf['list_posts.']['userbuttons.'][$key.'.'];
+	
+					if($buttonConf['if.'] && !$this->cObj->checkIf($buttonConf['if.'])) continue;
+	
+					if($buttonConf['label.']) {
+						$label = $this->cObj->cObjGetSingle('TEXT',$buttonConf['label.']);
 					}
+	
+					if($buttonConf['link.']) {
+						$link = $this->cObj->cObjGetSingle('TEXT',$buttonConf['link.']);
+					}
+	
+					if($buttonConf['special']) {
+						switch($buttonConf['special']) {
+							case 'www':
+								$res = @parse_url($link);
+								if(count($res)==0 || strlen(trim($link))==0) continue 2;
+							break;
+						}
+					}
+	
+					$profile .= $this->createButton(
+						$label ? $label : $buttonConf['label'],
+						$buttonConf['parameters'] ? $buttonConf['parameters'] : null,
+						$buttonConf['id'] ? $buttonConf['id'] : null,
+						$buttonConf['small'] ? true : false,
+						$link,
+						false,
+						$buttonConf['ATagParams']
+					);
+				} else {
+					$profile .= $this->cObj->cObjGetSingle($obj, $this->conf['list_posts.']['userbuttons.'][$key.'.']);
 				}
-
-				$profile .= $this->createButton(
-					$label ? $label : $buttonConf['label'],
-					$buttonConf['parameters'] ? $buttonConf['parameters'] : null,
-					$buttonConf['id'] ? $buttonConf['id'] : null,
-					$buttonConf['small'] ? true : false,
-					$link,
-					false,
-					$buttonConf['ATagParams']
-				);
-			} else {
-				$profile .= $this->cObj->cObjGetSingle($obj, $this->conf['list_posts.']['userbuttons.'][$key.'.']);
 			}
 		}
 
