mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Add default value for setptr
This commit is contained in:
parent
8d9e41ffed
commit
a91d91baa4
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class RRSet {
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addRecord($content, $disabled = FALSE, $setptr) {
|
public function addRecord($content, $disabled = FALSE, $setptr = FALSE) {
|
||||||
foreach ($this->records as $record) {
|
foreach ($this->records as $record) {
|
||||||
if ($record->content == $content) {
|
if ($record->content == $content) {
|
||||||
throw Exception("Record already exists");
|
throw Exception("Record already exists");
|
||||||
|
|
Loading…
Add table
Reference in a new issue