فهرست منبع

Minor improvement.

AntonLV 6 سال پیش
والد
کامیت
dca16b075f
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      studio/classes/BxDolStudioInstallerUtils.php

+ 3 - 0
studio/classes/BxDolStudioInstallerUtils.php

@@ -395,16 +395,19 @@ class BxDolStudioInstallerUtils extends BxDolInstallerUtils implements iBxDolSin
 
     public function checkUpdates($bAuthorizedAccess = false)
     {
+        $sVersion = bx_get_ver();
         $sProducts = $this->getInstalledInfoShort();
 
         if($bAuthorizedAccess)
             return $this->getAccessObject(true)->loadItems(array(
                 'method' => 'browse_updates', 
+                'version' => $sVersion,
                 'products' => $sProducts
             ));
 
         return $this->getAccessObject(false)->load($this->sStoreDataUrlPublic . 'json_browse_updates', array(
             'key' => getParam('sys_oauth_key'),
+            'version' => $sVersion,
             'products' => $sProducts
         ));
     }