* fix bug for waring.

This commit is contained in:
wyd621
2013-08-02 10:36:34 +08:00
parent dafd297f6a
commit 01dd3ac526
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ $config->url->extension = 'http://www.zentao.net/extension-browse.html';
$config->url->donation = 'http://www.zentao.net/help-donation.html';
$config->url->service = 'http://www.cnezsoft.com/article-browse-1078.html';
$config->win2Unix = new stdclass();
$config->win2Unix->renameTables = array(
'zt_casestep' => 'zt_caseStep' ,
'zt_doclib' => 'zt_docLib' ,
+1 -1
View File
@@ -63,7 +63,7 @@
echo "{$lang->extension->compatible}: {$lang->extension->compatibleList[$currentRelease->compatible]} ";
echo "{$lang->extension->grade}: ", html::printStars($extension->stars);
echo " {$lang->extension->depends}: ";
if($currentRelease->depends)
if(!empty($currentRelease->depends))
{
foreach(json_decode($currentRelease->depends) as $code => $limit)
{
+1
View File
@@ -288,6 +288,7 @@ EOT;
{
if($bug->project)
{
$projects[$bug->project] = new stdclass();
$projects[$bug->project]->bugs = isset($projects[$bug->project]->bugs) ? $projects[$bug->project]->bugs + 1 : 1;
}
}
+2
View File
@@ -1,3 +1,5 @@
<?php
$config->sso->create = new stdclass();
$config->sso->create->requiredFields = 'title,code,key,ip';
$config->sso->edit = new stdclass();
$config->sso->edit->requiredFields = 'title,key,ip';
+1 -1
View File
@@ -9,7 +9,7 @@ class sso extends control
*/
public function browse()
{
$this->view->title = $this->lang->sso->common . $lang->colon . $this->lang->sso->browse;
$this->view->title = $this->lang->sso->common . $this->lang->colon . $this->lang->sso->browse;
$this->view->position[] = $this->lang->sso->common;
$this->view->position[] = $this->lang->sso->browse;
$this->view->auths = $this->sso->getAuths();