What steps will reproduce the problem?
1. Trying to create new field in the profile.
What is the expected output? What do you see instead?
Yii show an error "Undefined variable: list" in the file:
H:\mowes_portable\www\lw1\protected\modules\user\views\profileField\_menu.p
hp(5)
00001: <ul class="actions">
00002: <li><?php echo CHtml::link(UserModule::t('Manage
User'),array('/user/admin')); ?></li>
00003: <li><?php echo CHtml::link(UserModule::t('Manage Profile
Field'),array('admin')); ?></li>
00004: <?php
00005: if (count($list)) {
00006: foreach ($list as $item)
00007: echo "<li>".$item."</li>";
00008: }
00009: ?>
00010: </ul><!-- actions -->
What version of the product are you using? On what operating system?
yii-user-0.2-r43
Please provide any additional information below.
I just changed line
<?php echo $this->renderPartial('_menu'); ?>
to
<?php echo $this->renderPartial('_menu', array('list'=>array())); ?>
in the file "\user\views\profileField\create.php" to fix this.
Original issue reported on code.google.com by gpm.grif...@gmail.com on 21 May 2010 at 8:47
Original issue reported on code.google.com by
gpm.grif...@gmail.com
on 21 May 2010 at 8:47