Index: vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php b/vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php
--- a/vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php	
+++ b/vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php	(date 1675830475151)
@@ -122,7 +122,7 @@
         $this->_filterByBlockName($block);
 
         // Handle prices that are shown when admin reviews customers shopping cart
-        if (stripos($block->getNameInLayout(), 'customer_cart_') === 0) {
+        if (stripos($block->getNameInLayout() ?? '', 'customer_cart_') === 0) {
             if (!$this->observerData->isCanReadProductPrice()) {
                 if ($block->getParentBlock()->getNameInLayout() == 'admin.customer.carts') {
                     $this->_removeColumnFromGrid($block, 'price');
