Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Notice: Undefined index: value in


Recommended Posts

Всем доброго дня !
появилась вот  такая беда над шапкой Notice: Undefined index: value in /home/z/***/***/storage/modification/system/config/catalog.php on line 37
по коду не могу понять что не так :


33 // Actions

            35   $registry = new Registry(); $db = new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE); $registry->set('db', $db);
            36  $query = $db->query("SELECT value FROM " . DB_PREFIX . "setting WHERE store_id = '0' AND `key`='config_seo_url_type'");
              37   $seo_type = $query->row['value'];
           38    if (!$seo_type) {  $seo_type = 'seo_url';  }
Заранее примного благодарен 

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.