Discussion:
svn: /pear/pear-core/trunk/PEAR/ REST.php
Helgi Þormar Þorbjörnsson
2011-03-23 12:34:39 UTC
Permalink
dufuz Wed, 23 Mar 2011 12:34:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=309593

Log:
Fixed Bug #18388: Parenteses error in REST.php line 232 [dufuz]

# Port from branch PEAR-1.9.3

Bug: http://pear.php.net/bugs/18388 (unknown)

Changed paths:
U pear/pear-core/trunk/PEAR/REST.php

Modified: pear/pear-core/trunk/PEAR/REST.php
===================================================================
--- pear/pear-core/trunk/PEAR/REST.php 2011-03-23 12:34:19 UTC (rev 309592)
+++ pear/pear-core/trunk/PEAR/REST.php 2011-03-23 12:34:39 UTC (rev 309593)
@@ -229,7 +229,7 @@
$cachefile = $d . 'rest.cachefile';

if (!is_dir($cache_dir)) {
- if (System::mkdir(array('-p', $cache_dir) === false)) {
+ if (System::mkdir(array('-p', $cache_dir)) === false) {
return PEAR::raiseError("The value of config option cache_dir ($cache_dir) is not a directory and attempts to create the directory failed.");
}
}

Loading...