* Fix compatibility.
This commit is contained in:
@@ -544,7 +544,7 @@ class baseEntry
|
||||
if(!$value or $value == '0000-00-00') return null;
|
||||
return $value;
|
||||
case 'bool':
|
||||
return boolval($value) ? true : false;
|
||||
return !empty($value);
|
||||
case 'idList':
|
||||
$values = explode(',', $value);
|
||||
if(empty($values)) return array();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<rule ref="PHPCompatibility">
|
||||
<exclude-pattern>roadmap.css</exclude-pattern>
|
||||
</rule>
|
||||
<config name="testVersion" value="5.3" />
|
||||
<config name="testVersion" value="5.3-" />
|
||||
|
||||
<!--rule ref="Generic.Files.LineLength">
|
||||
<properties>
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* The control file of admin module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co
|
||||
* @license ZPL (http://zpl.pub/page/zplv12.html)
|
||||
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
|
||||
* @package admin
|
||||
* @version $Id: control.php 4460 2013-02-26 02:28:02Z chencongzhi520@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
$a = [];
|
||||
|
||||
class View
|
||||
{
|
||||
public function include(View $view)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user