Private GIT

Skip to content
Snippets Groups Projects
Commit 7da8da14 authored by Julien Mathis's avatar Julien Mathis
Browse files

replace #S# by / and #BS# by \

git-svn-id: http://svn.centreon.com/oreon-dev@2769 6bcd3966-0018-0410-8128-fd23d134de7e
parent 3bc701af
Branches
Tags 4.3c
No related merge requests found
...@@ -215,6 +215,8 @@ For information : contact@oreon-project.org ...@@ -215,6 +215,8 @@ For information : contact@oreon-project.org
if ($svc_id["host_name"] == "Meta_Module") if ($svc_id["host_name"] == "Meta_Module")
$svc_id["host_name"] = "Meta Services"; $svc_id["host_name"] = "Meta Services";
$svc_id["service_description"] = str_replace("#S#", "/", $svc_id["service_description"]);
if (preg_match("/meta_([0-9]*)/", $svc_id["service_description"], $matches)){ if (preg_match("/meta_([0-9]*)/", $svc_id["service_description"], $matches)){
$DBRESULT_meta =& $pearDB->query("SELECT meta_name FROM meta_service WHERE `meta_id` = '".$matches[1]."'"); $DBRESULT_meta =& $pearDB->query("SELECT meta_name FROM meta_service WHERE `meta_id` = '".$matches[1]."'");
if (PEAR::isError($DBRESULT_meta)) if (PEAR::isError($DBRESULT_meta))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment