Skip to content

Commit

Permalink
#25 Stop errors on the page manager when adding the Aggregated Rights…
Browse files Browse the repository at this point in the history
… Table block
  • Loading branch information
BBGuy committed Jan 6, 2015
1 parent 6c06ae5 commit acb57c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sites/all/modules/custom/kendra_wf/kendra_wf.module
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ function kendra_wf_block_view($delta) {

function kendra_wf_get_current_aggregated_rights_table($form, &$form_state) {
$content = array();
$nid = arg(1);
$nid = (int) arg(1);
if ($nid == 0) {
return $form;
}
$asset = node_load($nid);
if ($asset->type == 'asset') {

Expand Down

0 comments on commit acb57c0

Please sign in to comment.