From e7be752cebef5a4d721ae27544bc81aba79e00f7 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 25 Sep 2015 17:58:18 +0300 Subject: [PATCH] =?UTF-8?q?FIX=20=20=D0=BD=D0=B0=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=84=D0=BE=D1=82=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/models/ArticlePhotos.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ground/models/ArticlePhotos.php b/ground/models/ArticlePhotos.php index ed260a9..5ca5eb2 100644 --- a/ground/models/ArticlePhotos.php +++ b/ground/models/ArticlePhotos.php @@ -19,6 +19,7 @@ class ArticlePhotos extends Model { $params = array( 'where' => '`owner` = '.(int)$userId, + 'order' => 'id DESC' ); if ($limit > 0) {