summaryrefslogtreecommitdiff
path: root/net/phpldapadmin/files/patch-htdocs_copy.php
diff options
context:
space:
mode:
Diffstat (limited to 'net/phpldapadmin/files/patch-htdocs_copy.php')
-rw-r--r--net/phpldapadmin/files/patch-htdocs_copy.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/phpldapadmin/files/patch-htdocs_copy.php b/net/phpldapadmin/files/patch-htdocs_copy.php
new file mode 100644
index 000000000000..3f0a46fcfea2
--- /dev/null
+++ b/net/phpldapadmin/files/patch-htdocs_copy.php
@@ -0,0 +1,11 @@
+--- htdocs/copy.php.orig 2021-12-12 02:35:51 UTC
++++ htdocs/copy.php
+@@ -21,7 +21,7 @@ $ldap['SRC'] = $_SESSION[APPCONFIG]->getServer(get_req
+ $ldap['DST'] = $_SESSION[APPCONFIG]->getServer(get_request('server_id_dst'));
+
+ # Error checking
+-if (! trim($request['dnDST']))
++if (! trim((string) $request['dnDST']))
+ error(_('You left the destination DN blank.'),'error','index.php');
+
+ if ($ldap['DST']->isReadOnly())