[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:
remicollet 2009-03-02 14:51:33 +00:00
parent 520e60a5d6
commit b32a29e8a5

View File

@ -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 // Items need to have an unique index beginning by the begin date of the item to display
// needed to be correcly displayed // needed to be correcly displayed
list($date,$time)=split(" ",$parm["begin"]); list($date,$time)=explode(" ",$parm["begin"]);
$end=$date." 13:33:00"; $end=$date." 13:33:00";
$parm["items"][$parm["begin"]."$$$"."plugin_example1"]["plugin"]="example"; $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["plugin"]="example";