Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am csarsam on github.
  • I am csarsam (https://keybase.io/csarsam) on keybase.
  • I have a public key whose fingerprint is 405C 3FEC 4BDC AFD5 351F 31F1 6506 0FE8 007B A21C

To claim this, I am signing this object:

function solur_views_pre_render(&$view) {
//keep track of the node ids that have already been put in the results
$used_nids = array();
$new_view_result = array();
//Go through each result
foreach ($view->result as $row) {
dpm($row);
//Make sure $row->nid has a value; this prevents error messages
if(isset($row->nid)) {