diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 12:09:23 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 12:09:23 -0200 |
commit | 3c44f48a8ab95ca0c4163ea064ec4525dfc33814 (patch) | |
tree | db4f4d6ca7c14bad23e589b687ca5abd22229fdd /www/inc/photo.class.inc.php | |
parent | 9334f7e48133c3a2309ed8dc39182cbc486570b6 (diff) | |
download | original-3c44f48a8ab95ca0c4163ea064ec4525dfc33814.tar.gz original-3c44f48a8ab95ca0c4163ea064ec4525dfc33814.tar.bz2 |
Diffstat (limited to 'www/inc/photo.class.inc.php')
-rw-r--r-- | www/inc/photo.class.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/photo.class.inc.php b/www/inc/photo.class.inc.php index 46f1a8f..1a55e59 100644 --- a/www/inc/photo.class.inc.php +++ b/www/inc/photo.class.inc.php @@ -102,7 +102,7 @@ class C_photo { return; } //parse buffer - if(preg_match("/^<span>(.*)</span>( - )?(.*)/i", $buffer, $x)) { + if(preg_match("|^<span>(.*)</span>( - )?(.*)|i", $buffer, $x)) { $this->name = $x[1]; //mostly "Photo" $this->caption = chop($x[3]); } else { |