- Bugfix [ 942865 ] urlizedTitle problem. (Thanks to tr0nd).
This commit is contained in:
parent
43ed2faac4
commit
b51e210af5
2 changed files with 4 additions and 2 deletions
|
|
@ -19,7 +19,9 @@
|
|||
- Bugfix [ 925586 ] HttpProxy ignores javascript in <HEAD> (thanks to
|
||||
Nicklous Roberts).
|
||||
- Added cacheTTL param to WSClient to tweak expiration of SOAP returns.
|
||||
|
||||
- Bugfix [ 943298 ] Events Calendar recurrence error in WG6.0 (thanks to
|
||||
Frank Dillon).
|
||||
- Bugfix [ 942865 ] urlizedTitle problem. (Thanks to tr0nd).
|
||||
|
||||
|
||||
6.0.1
|
||||
|
|
|
|||
|
|
@ -455,7 +455,7 @@ The page id of the page you're creating a URL for.
|
|||
|
||||
sub makeUnique {
|
||||
my ($url, $test, $pageId);
|
||||
$url = $_[0];
|
||||
$url = $_[0] || "_1";
|
||||
$pageId = $_[1] || "new";
|
||||
while (($test) = WebGUI::SQL->quickArray("select urlizedTitle from page where urlizedTitle='$url' and pageId<>'$pageId'")) {
|
||||
if ($url =~ /(.*)(\d+$)/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue