Do I have a memory leak in this pagelist template?

>>comment<<
[[#antragsliste]]
(:template first {=$:SK}:)
!!Sachkommission {=$SK}
(:template each:)
* [[{=$FullName} | {=$Titlespaced}]]
&nbsp; [-{=$:Summary}-]
[[#antragsliste end]]
>>font-size:smaller<<

This should give out a list of all pages within a group seperated by a PTV 
(here: $SK)

moreover it is sorted by a simple strnatcasecmp() call.

function SKAntrag($x, $y) {
          $xval = PageVar($x, '$:SK').PageVar($x, '$:Antrag');
          $yval = PageVar($y, '$:SK').PageVar($y, '$:Antrag');
      $c = strnatcasecmp($xval, $yval);
      return $c;
}
$PageListSortCmp['antragsliste'] = 'SKAntrag($x, $y)';

Everytime I want to load the page, I get a "Allowed memory size of 52428800 
bytes exhausted" message. What's wrong here?

Thanks,

Martin

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to