From d39bba45fba7fc9d9e2d1d81b878d721d572a39a Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 22 Dec 2020 10:27:22 +0100 Subject: [PATCH] CLI show: fix handling --raw-values parameter --- src/includes/class/class.LSldapObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSldapObject.php b/src/includes/class/class.LSldapObject.php index 91dafe1b..b1da833c 100644 --- a/src/includes/class/class.LSldapObject.php +++ b/src/includes/class/class.LSldapObject.php @@ -1978,7 +1978,7 @@ class LSldapObject extends LSlog_staticLoggerClass { $dn = null; $raw_values = false; foreach ($command_args as $arg) { - if ($arg == '-r' || $arg == '--raw-value') + if ($arg == '-r' || $arg == '--raw-values') $raw_values = true; elseif (is_null($objType)) { $objType = $arg;