Skip to content

Commit fa05af7

Browse files
committed
fix: Remove offset from file_get_contents call for styles demo
1 parent 3cee9d1 commit fa05af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contribution/style/demo/manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ protected function perform_action($action)
151151

152152
$hook_url = $this->ext_config->demo_style_hook[$this->branch];
153153
$context = stream_context_create($options);
154-
$result = file_get_contents($hook_url, false, $context, -1, 50);
154+
$result = file_get_contents($hook_url, false, $context, 0, 50);
155155
$this->delete_auth_key($key);
156156

157157
return $this->get_result($result);

0 commit comments

Comments
 (0)