mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[example] split (deprecated) -> explode
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@65 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
520e60a5d6
commit
b32a29e8a5
2
hook.php
2
hook.php
@ -466,7 +466,7 @@ function plugin_planning_populate_example($parm){
|
||||
// Items need to have an unique index beginning by the begin date of the item to display
|
||||
// needed to be correcly displayed
|
||||
|
||||
list($date,$time)=split(" ",$parm["begin"]);
|
||||
list($date,$time)=explode(" ",$parm["begin"]);
|
||||
$end=$date." 13:33:00";
|
||||
|
||||
$parm["items"][$parm["begin"]."$$$"."plugin_example1"]["plugin"]="example";
|
||||
|
Loading…
x
Reference in New Issue
Block a user