Skip to content

Commit

Permalink
Fix for issue daylightstudio#288 to allow users to select from the UR…
Browse files Browse the repository at this point in the history
…L page from WYSIWYG editor
  • Loading branch information
David McReynolds committed Oct 24, 2014
1 parent 79cd472 commit d1f5db4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fuel/modules/fuel/controllers/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ class Pages extends Module {

public function __construct()
{
parent::__construct();
parent::__construct(FALSE);

// allow the select URL page to show up regardless of permissions
$validate = (fuel_uri_segment(2) == 'select') ? FALSE : TRUE;
if ($validate)
{
$this->_validate_user($this->permission);
}
$this->load->module_model(FUEL_FOLDER, 'fuel_pagevariables_model');
}

Expand Down

0 comments on commit d1f5db4

Please sign in to comment.