net/phpldapadmin: forgot to remove one file

This file was in the review but not in the commit.

Fixes patch so no need to inc portrevision:
===>  Patching for phpldapadmin-php81-1.2.6.4
===>  Applying FreeBSD patches for phpldapadmin-php81-1.2.6.4 from /usr/ports/net/phpldapadmin/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to htdocs/collapse.php.rej
===>  FAILED Applying FreeBSD patch-htdocs_collapse.php
===> FAILED to apply cleanly FreeBSD patch(es)  patch-htdocs_collapse.php
*** Error code 1

PR:	268349
Approved by: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D37700
This commit is contained in:
Ronald Klop 2022-12-18 10:34:57 +01:00
parent 49b3932a7f
commit 624cb5d4e9
No known key found for this signature in database
GPG Key ID: 551E8E6207A42166
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
--- htdocs/collapse.php.orig 2021-12-12 02:35:51 UTC
+++ htdocs/collapse.php
@@ -19,7 +19,7 @@ $dn = get_request('dn','GET',true);
$tree = get_cached_item($app['server']->getIndex(),'tree');
$entry = $tree->getEntry($dn);
$entry->close();
-set_cached_item($app['server']->getIndex(),'tree','null',$tree);
+set_cached_item($app['server']->getIndex(),$tree,'tree','null');
header(sprintf('Location:index.php?server_id=%s&junk=%s#%s%s',
$app['server']->getIndex(),random_junk(),htmlid($app['server']->getIndex(),$dn),app_session_param()));