Ignore:
Timestamp:
Jan 12, 2014, 10:59:00 PM (10 years ago)
Author:
LucMorizur
Message:

Compatibility with Piwigo version 2.6

Location:
extensions/event_cats/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/include/evntcats_admin_funcs.inc.php

    r21996 r26672  
    101101 
    102102  // User creation, as generic
    103   $ec_user_id = false;
    104   $page['errors'] = register_user(
    105     $_POST['login'], $_POST['password'], '', false
     103  $ec_user_id = register_user(
     104    $_POST['login'], $_POST['password'], '', false, $page['errors'], false
    106105  );
    107106  if (
  • extensions/event_cats/include/evntcats_main_funcs.inc.php

    r21996 r26672  
    236236     FROM `".CATEGORIES_TABLE."`
    237237   ", $c, 'category_options', $dsp);
    238   $ec_lists['categories'] = $template->smarty->_tpl_vars['category_options'];
     238  $ec_lists['categories'] = $template->get_template_vars('category_options');
    239239}
    240240
Note: See TracChangeset for help on using the changeset viewer.