Permalink
Browse files

Merge pull request #5 from Germis/master

Исправление шаблона регекспы
  • Loading branch information...
2 parents f03a30c + dda08c3 commit e0a4d6c4802d0fad152ccae940da84819983dbe2 @saippuakauppias committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/vk_poster.class.php
@@ -249,7 +249,7 @@ private function get_hash($page_id)
$this->sleep();
unset($match);
- preg_match("#act: '([^']+)', code: ge\('code'\)\.value, to: '([^']+)', al_page: '([^']+)', hash: '([^']+)'#is", $result, $match);
+ preg_match("#act: '([^']+)', code: ge\('code'\)\.value, to: '([^']+)', al_page: '([^']*)', hash: '([^']+)'#i", $result, $match);
$post = array(
'act' => $match[1],

0 comments on commit e0a4d6c

Please sign in to comment.