Skip to content

Commit e9b82b5

Browse files
committed
Merge pull request #12 from LionsHead/patch-3
upd getX()
2 parents c64c2dc + d365a4b commit e9b82b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SelectelStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected static function getX($headers, $prefix = 'x-')
102102
{
103103
$result = array();
104104
foreach($headers as $key => $value)
105-
if (stripos($key, "x-") === 0)
105+
if (stripos($key, $prefix) === 0)
106106
$result[$key] = $value;
107107
return $result;
108108
}

0 commit comments

Comments
 (0)