Found these syntax errors (throwing them on HostGator site)

In services/servers/rest_server/includes/ServicesRESTServerFactory.inc line 32 this line:

$class_name = static::$class_name;

should be:

$class_name = self::$class_name;

In services/resources/user_resource.inc line 286 and 287 these lines:

'pass1' => isset($account['pass']) ?: '',
'pass2' => isset($account['pass']) ?: '',

should be:

'pass1' => isset($account['pass']) ? $account['pass'] : '',
'pass2' => isset($account['pass']) ? $account['pass'] : '',

Comments

kylebrowning’s picture

cdykstra’s picture

These fixes worked for me (Drupal 7 on PHP 5.2). Thanks!