mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 8.0 Error: Undefined constant "TIMESHEET_APP"
This commit is contained in:
parent
dfb1a3be22
commit
383a6350f5
@ -7,8 +7,8 @@
|
||||
* @package timesheet
|
||||
* @copyright (c) 2005-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
use EGroupware\Api\Link;
|
||||
use EGroupware\Api\Acl;
|
||||
|
||||
@ -24,7 +24,7 @@ class timesheet_datasource extends datasource
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct(TIMESHEET_APP);
|
||||
parent::__construct('timesheet');
|
||||
|
||||
$this->valid = PM_REAL_START|PM_REAL_END|PM_USED_TIME|PM_USED_BUDGET|PM_USED_QUANTITY|
|
||||
PM_PRICELIST_ID|PM_UNITPRICE|PM_RESOURCES|PM_DETAILS|PM_COMPLETION|PM_CAT_ID;
|
||||
|
Loading…
Reference in New Issue
Block a user