Skip to content

Commit 1c607ee

Browse files
author
Jamie Hannaford
committed
Merge pull request #360 from kiddivouchers/fix-ptr-delete
Fix deleting PTR records
2 parents 2fc8cc5 + 8677f59 commit 1c607ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/OpenCloud/DNS/Resource/PtrRecord.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public function delete()
111111
}
112112

113113
$url = clone $this->getUrl();
114-
$url->addPath('rdns')
114+
$url->addPath('..')
115+
->normalizePath()
115116
->addPath($this->link_rel)
116117
->setQuery($params);
117118

0 commit comments

Comments
 (0)