aboutsummaryrefslogtreecommitdiff
path: root/www/inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-18 12:09:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-18 12:09:23 -0200
commit3c44f48a8ab95ca0c4163ea064ec4525dfc33814 (patch)
treedb4f4d6ca7c14bad23e589b687ca5abd22229fdd /www/inc
parent9334f7e48133c3a2309ed8dc39182cbc486570b6 (diff)
downloadoriginal-master.tar.gz
original-master.tar.bz2
Fixing delimiters on preg_matchHEADmaster
Diffstat (limited to 'www/inc')
-rw-r--r--www/inc/photo.class.inc.php2
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 {