mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Fixed issue with last hash symbol
This commit is contained in:
parent
45b5ab4589
commit
e0ec645613
@ -198,7 +198,8 @@ sub tool_api_main () {
|
|||||||
$id_group = $ARGV[$i + 1];
|
$id_group = $ARGV[$i + 1];
|
||||||
}
|
}
|
||||||
if ($line eq '-name') {
|
if ($line eq '-name') {
|
||||||
$event_name = join('%23', split("#", $ARGV[$i + 1]));
|
$event_name = $ARGV[$i + 1];
|
||||||
|
$event_name =~ s/#/%23/g;
|
||||||
}
|
}
|
||||||
if ($line eq '-type') {
|
if ($line eq '-type') {
|
||||||
$event_type = $ARGV[$i + 1];
|
$event_type = $ARGV[$i + 1];
|
||||||
|
@ -198,7 +198,8 @@ sub tool_api_main () {
|
|||||||
$id_group = $ARGV[$i + 1];
|
$id_group = $ARGV[$i + 1];
|
||||||
}
|
}
|
||||||
if ($line eq '-name') {
|
if ($line eq '-name') {
|
||||||
$event_name = join('%23', split("#", $ARGV[$i + 1]));
|
$event_name = $ARGV[$i + 1];
|
||||||
|
$event_name =~ s/#/%23/g;
|
||||||
}
|
}
|
||||||
if ($line eq '-type') {
|
if ($line eq '-type') {
|
||||||
$event_type = $ARGV[$i + 1];
|
$event_type = $ARGV[$i + 1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user