Skip to content

Commit

Permalink
Fixed a bug where the google model was not adding fallback fonts from…
Browse files Browse the repository at this point in the history
… the selector screen
  • Loading branch information
webfonts committed Apr 12, 2012
1 parent 17adc10 commit 4586661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com_webfonts/admin/models/google.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function updateSelectors($selectors, $fallBack){
$table = JTable::getInstance('Webfonts', 'JTable');
$table->id = (int) $selector['selectorId'];
$table->fontId = (int) $selector['FontID'];
$table->fallBack = $selector['selector']->fallBack;
$table->fallBack = $fallBack[$selector['selectorId']];
$table->selector = $selector['selector']->selector;
$table->vendor = 'google';
if(!$table->store()) {
Expand Down

0 comments on commit 4586661

Please sign in to comment.