From 62c1cb76cdec9b29a7df864c9f05f1fa8b655d47 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Date: Wed, 24 Sep 2025 10:35:59 +0530 Subject: [PATCH] RDKB-61157: Something has screwed up error in PAM Reason for change: https://gerrit.teamccp.com/#/c/921933/ Something has screwed up error in PAM when editing added devices in devices page In jsts/php.jst explode() function definition, for EMPTY $str return [] instead of [0:""] Test Procedure: Test for editing added devices in devices page Risks:low Priority: P1 Signed-off-by: pavankumarreddy_balireddy@comcast.com --- jsts/php.jst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsts/php.jst b/jsts/php.jst index 11eb726..6187729 100755 --- a/jsts/php.jst +++ b/jsts/php.jst @@ -296,6 +296,8 @@ function strlen($str) function explode($sep, $str) { + // For EMPTY $str return [] instead of [0:""] + if($str=="") return []; if(typeof($str) !== "undefined"){ return $str.split($sep); }