[xoops-cvslog 3174] CVS update: xoops2jp/html/modules/base/actions

アーカイブの一覧に戻る

NobuNobu nobun****@users*****
2006年 5月 27日 (土) 00:48:03 JST


Index: xoops2jp/html/modules/base/actions/BackendAction.class.php
diff -u xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.2 xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.3
--- xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.2	Fri May 26 18:34:43 2006
+++ xoops2jp/html/modules/base/actions/BackendAction.class.php	Sat May 27 00:48:03 2006
@@ -9,7 +9,7 @@
 	function getDefaultView(&$controll, &$xoopsUser)
 	{
 		$items= $this->_getRSSInformation();
-		
+
 		$sortArr = array();
 		foreach ($items as $item) {
 			$i = intval($item['pubdate']);
@@ -17,9 +17,8 @@
 			
 			$sortArr[$i] = $item;
 		}
-		
-		$this->mItems = krsort($sortArr);
-		
+		krsort($sortArr);
+	    $this->mItems = $sortArr;
 		return LEGACY_FRAME_VIEW_INDEX;
 	}
 
@@ -83,7 +82,6 @@
 		
 		$renderTarget->setAttribute('image_width', $width);
 		$renderTarget->setAttribute('image_height', $height);
-		
 		$renderTarget->setAttribute('items', $this->mItems);
 
 		//


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る