Avoid duplicating the text.
This commit is contained in:
@@ -144,7 +144,8 @@ function PMA_importRunQuery($sql = '', $full = '', $controluser = false)
|
|||||||
if ($a_num_rows > 0) {
|
if ($a_num_rows > 0) {
|
||||||
$msg .= $GLOBALS['strRows'] . ': ' . $a_num_rows;
|
$msg .= $GLOBALS['strRows'] . ': ' . $a_num_rows;
|
||||||
} elseif ($a_aff_rows > 0) {
|
} elseif ($a_aff_rows > 0) {
|
||||||
$msg .= sprintf(_ngettext('%1$d row affected.', '%1$d rows affected.', $a_aff_rows), $a_aff_rows);
|
$message = PMA_Message::affected_rows($a_aff_rows);
|
||||||
|
$msg .= $message->getMessage();
|
||||||
} else {
|
} else {
|
||||||
$msg .= $GLOBALS['strEmptyResultSet'];
|
$msg .= $GLOBALS['strEmptyResultSet'];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user