Add default value for setptr

This commit is contained in:
Mark Schouten 2016-08-05 12:05:36 +02:00
parent 8d9e41ffed
commit a91d91baa4

View file

@ -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");