* fix bug for waring.
This commit is contained in:
@@ -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' ,
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user