Browse Source

Fix deprecations

Mark Scherer 10 years ago
parent
commit
837011d96a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      View/Qurls/admin_index.ctp

+ 1 - 1
View/Qurls/admin_index.ctp

@@ -31,7 +31,7 @@ foreach ($qurls as $qurl): ?>
 
 		<td>
 			<?php echo h($qurl['Qurl']['used']); ?>
-			<div><?php echo $this->Format->yesNo($qurl['Qurl']['active'], __('Active'), __('Inactive')); ?></div>
+			<div><?php echo $this->Format->yesNo($qurl['Qurl']['active'], ['onTitle' => __('Active'), 'offTitle' => __('Inactive')]); ?></div>
 		</td>
 		<td>
 			<?php echo $this->Datetime->niceDate($qurl['Qurl']['last_used']); ?>