Permalink
Browse files

removed usage if ?: for PHP 5.2 compatibility (closes #52)

  • Loading branch information...
1 parent 7de5f38 commit 3998d1b528d4cbbe66c48e4da0837b40b7300d7f @fabpot fabpot committed Apr 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 CHANGELOG
  2. +1 −1 pirum
View
@@ -1,6 +1,6 @@
* 1.1.5 (2012-XX-XX)
- * n/a
+ * removed usage if ?: for PHP 5.2 compatibility
* 1.1.4 (2012-04-19)
View
2 pirum
@@ -728,7 +728,7 @@ pear install <?php echo $this->server->alias ?>/package_name-beta</code></pre>
}
return array(
- 'classmap' => $files ?: array(''),
+ 'classmap' => $files ? $files : array(''),
);
}

0 comments on commit 3998d1b

Please sign in to comment.