Commit 14ac5dc9 authored by Aaron Wells's avatar Aaron Wells
Browse files

Fixing a bug in the Behat Generator for page permissions

behatnotneeded

Change-Id: Idda910b9effce465f6e9c3db6fa362ed3c3e6a1e
parent 219f84c0
......@@ -725,9 +725,9 @@ EOD;
'startdate' => null,
'stopdate' => null,
'template' => 0,
'retainview' => (isset($record['allowcomments']) ? $record['allowcomments'] : 0),
'allowcomments' => (isset($record['allowcomments']) ? $record['allowcomments'] : 1),
'approvecomments' => (isset($record['allowcomments']) ? $record['allowcomments'] : 1),
'retainview' => (int) (isset($record['retainview']) ? $record['retainview'] : 0),
'allowcomments' => (int) (isset($record['allowcomments']) ? $record['allowcomments'] : 1),
'approvecomments' => (int) (isset($record['approvecomments']) ? $record['approvecomments'] : 0),
'accesslist' => $accesslist,
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment