[eGroupWare-svn] r56136 - /trunk/projectmanager/inc/class.projectmanager_bo.inc.php
[email protected] Wed, 11 May 2016 23:37:01 -0000
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nathangray
Date: Thu May 12 01:37:00 2016
New Revision: 56136
URL: http://svn.stylite.de/viewvc/egroupware?rev=56136&view=rev
Log:
Fix fallback project ID to not cause infinite loop
Modified:
trunk/projectmanager/inc/class.projectmanager_bo.inc.php
Modified: trunk/projectmanager/inc/class.projectmanager_bo.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/projectmanager/inc/class.projectmanager_bo.inc.php?rev=56136&r1=56135&r2=56136&view=diff
==============================================================================
--- trunk/projectmanager/inc/class.projectmanager_bo.inc.php (original)
+++ trunk/projectmanager/inc/class.projectmanager_bo.inc.php Thu May 12 01:37:00 2016
@@ -530,7 +530,7 @@
if(!$index && $this->not_unique(array('pm_number' => $pm_format))) // no index given and not unique
{
// have to use default
- $pm_format = $parent === '' ? sprintf('P-%04Y-%04d', date('Y')) : $parent.'/%04d';
+ $pm_format = $parent === '' ? sprintf('P-%04s-%%04d', date('Y')) : $parent.'/%04d';
}
elseif(!$index)
{
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j