Project

General

Profile

« Previous | Next » 

Revision 5d49899e

Added by Andreas Kohlbecker about 12 years ago

fixing drupal_check_module() bug, using module_exists() instead

View differences:

5.x/modules/cdm_dataportal/cdm_api/cdm_api.module
337 337
  $i = 0;
338 338
  while(strpos($uri_pattern, "$".$i) !== FALSE){
339 339
    if(count($pathParameters) <= $i){
340
      if(drupal_check_module("user") && user_access('administer')){
340
      if(module_exists("user") && user_access('administer')){
341 341
        drupal_set_message('cdm_compose_url(): missing pathParameters', 'debug');
342 342
      }
343 343
      break;

Also available in: Unified diff