Jump to content

Boxe OUR SERVICES


Recommended Posts

Hi Catalina,

 

I think you find a small bug, but you can change the sql request by this. It must resolve your problem.

 

bm_page_manager

 $Qpages = $CLICSHOPPING_Db->prepare('select count(*) as count
                                          from :table_pages_manager
                                          where status = 1
                                          and page_box = 0
                                          and page_type = 4
                                          and (customers_group_id = :customers_group_id or customers_group_id = 99)
                                         ');
      $Qpages->bindInt(':customers_group_id', (int)$CLICSHOPPING_Customer->getCustomersGroupID() );

and 

bm_page_manager_customize

 

      $QpagesSecondary = $CLICSHOPPING_Db->prepare('select count(*) as count
                                              from :table_pages_manager
                                              where status = 1
                                              and page_box = 1
                                              and page_type = 4
                                              and (customers_group_id = :customers_group_id or customers_group_id = 99)
                                            ');
      $QpagesSecondary->bindInt(':customers_group_id', (int)$CLICSHOPPING_Customer->getCustomersGroupID() );

 

  • Thanks 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use