File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function __construct(
110110 */
111111 public function save (\Magento \Cms \Api \Data \PageInterface $ page )
112112 {
113- if (empty ( $ page ->getStoreId ()) ) {
113+ if ($ page ->getStoreId () === null ) {
114114 $ storeId = $ this ->storeManager ->getStore ()->getId ();
115115 $ page ->setStoreId ($ storeId );
116116 }
Original file line number Diff line number Diff line change @@ -133,3 +133,5 @@ Summary,Summary
133133Active,Active
134134Inactive,Inactive
135135"Please select one of each of the ratings above.","Please select one of each of the ratings above."
136+ star,star
137+ stars,stars
Original file line number Diff line number Diff line change 4040 <label
4141 class="rating-<?= $ block ->escapeHtmlAttr ($ iterator ) ?> "
4242 for="<?= $ block ->escapeHtmlAttr (str_replace (' ' , '_ ' , $ _rating ->getRatingCode ())) ?> _<?= $ block ->escapeHtmlAttr ($ _option ->getValue ()) ?> "
43- title="<?= $ block ->escapeHtmlAttr (__ ('%1 %2 ' , $ iterator , $ iterator > 1 ? 'stars ' : 'star ' )) ?> "
43+ title="<?= $ block ->escapeHtmlAttr (__ ('%1 %2 ' , $ iterator , $ iterator > 1 ? __ ( 'stars ' ) : __ ( 'star ' ) )) ?> "
4444 id="<?= $ block ->escapeHtmlAttr (str_replace (' ' , '_ ' , $ _rating ->getRatingCode ())) ?> _<?= $ block ->escapeHtmlAttr ($ _option ->getValue ()) ?> _label">
45- <span><?= $ block ->escapeHtml (__ ('%1 %2 ' , $ iterator , $ iterator > 1 ? 'stars ' : 'star ' )) ?> </span>
45+ <span><?= $ block ->escapeHtml (__ ('%1 %2 ' , $ iterator , $ iterator > 1 ? __ ( 'stars ' ) : __ ( 'star ' ) )) ?> </span>
4646 </label>
4747 <?php $ iterator ++; ?>
4848 <?php endforeach ; ?>
You can’t perform that action at this time.
0 commit comments