com web/master: /me sighs.... might help to echo the 'checked' attribute, eh?: manage/mirrors.php

From: Date: Tue, 09 Oct 2012 17:03:32 +0000
Subject: com web/master: /me sighs.... might help to echo the 'checked' attribute, eh?: manage/mirrors.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14816@lists.php.net to get a copy of this message
Commit: f1e01164c9244eae1f63ec4324b6ea739871cb86 Author: Daniel P. Brown <danbrown@php.net> Tue, 9 Oct 2012 13:03:32 -0400 Parents: 21e567d5dccb71e20ad6edf60ae59764e91e311d Branches: master Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=f1e01164c9244eae1f63ec4324b6ea739871cb86 Log: /me sighs.... might help to echo the 'checked' attribute, eh? Changed paths: M manage/mirrors.php Diff: diff --git a/manage/mirrors.php b/manage/mirrors.php index ae59ef9..585d493 100644 --- a/manage/mirrors.php +++ b/manage/mirrors.php @@ -177,7 +177,7 @@ elseif (isset($id)) { <?php if (!empty($row['hostname'])) { ?> <th align="right">Round-Robin?</th> <td> - <input type="checkbox" name="load_balanced" value="<?php echo substr($row['hostname'],0,2); ?>" <?php preg_match('/\w+/',$row['load_balanced']) ? ' checked="checked"' : ''; ?>/> + <input type="checkbox" name="load_balanced" value="<?php echo substr($row['hostname'],0,2); ?>" <?php echo preg_match('/\w+/',$row['load_balanced']) ? ' checked="checked"' : ''; ?>/> </td> <?php } else { ?> <th align="right">Round-Robin Country Code</th>

« previous php.webmaster (#14816) next »