API page: http://api.drupal.org/api/drupal/includes%21common.inc/function/url/6
Enter a descriptive title (above) relating to function url, then describe the problem you have found:
When running simpletest through drush I get the error:
Trying to get property of non-object in url() (line 1534 of common.inc).
The line:
<?php
$path = drupal_get_path_alias($path, isset($options['language']) ? $options['language']->language : '');
?>
Should:
<?php
isset($options['language'])
?>
be changed to:
<?php
isset($options['language']->language)
?>
Comments
Comment #1
yngens commentedNot sure if mine is the same issue, but I am getting:
Changing the offending line to:
$path = drupal_get_path_alias($path, isset($options['language']->language) ? $options['language']->language : '');didn't help.