2013-12-01 Junichi Satoh <junichi@rworks.jp>

* include/functions_treeview.php: Fixed tree expansion failure
	by module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2013-12-02 10:43:14 +00:00
parent 30df665aee
commit e41338a349
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-12-01 Junichi Satoh <junichi@rworks.jp>
* include/functions_treeview.php: Fixed tree expansion failure
by module.
2013-12-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the old visual maps from

View File

@ -1273,7 +1273,7 @@ function treeview_getSecondBranchSQL ($fatherType, $id, $id_father) {
default:
case 'module':
$symbols = ' !"#$%&\'()*+,./:;<=>?@[\\]^{|}~';
$name = id_father;
$name = $id_father;
for ($i = 0; $i < strlen($symbols); $i++) {
$name = str_replace('_articapandora_'.ord(substr($symbols, $i, 1)).'_pandoraartica_', substr($symbols, $i, 1), $name);
}